aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0807-drm-amd-dal-Use-verified-link-caps-to-cal-bw.patch
blob: 5b68f835e0d70f7b82382b916268cb02fa935b4b (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
From f9a73740f017113057cc544b5a4229c07b5ca598 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 0807/1110] drm/amd/dal: Use verified link caps to cal bw.

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 &&
-- 
2.7.4