aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1373-drm-amd-dal-Use-verified-link-caps-to-cal-bw.patch
blob: 7ed63b41ad58c4d1571e19c51f23809a3ed650ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From f948cc2457d56c5b34d62a29c2f54a1d91e79e8d Mon Sep 17 00:00:00 2001
From: Yongqiang Sun <yongqiang.sun@amd.com>
Date: Wed, 17 Feb 2016 11:10:12 -0500
Subject: [PATCH 1373/1565] drm/amd/dal: Use verified link caps to cal bw.

Change-Id: Iba84aa61838b6a29fa48ecf268a77c1eff71cd47
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
index 2a5fee6..b8f7423 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link_dp.c
@@ -1263,10 +1263,8 @@ bool dp_validate_mode_timing(
 		timing->v_addressable == (uint32_t)480)
 		return true;
 
-	/* For static validation we always use reported
-	 * link settings for other cases, when no modelist
-	 * changed we can use verified link setting*/
-	link_setting = &link->public.reported_link_cap;
+	/* We always use verified link settings */
+	link_setting = &link->public.verified_link_cap;
 
 	/* TODO: DYNAMIC_VALIDATION needs to be implemented */
 	/*if (flags.DYNAMIC_VALIDATION == 1 &&
-- 
1.9.1