aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0328-drm-dp-helper-DP_TEST_MISC1-should-be-DP_TEST_MISC0.patch
blob: 90778a5badfd622e6954d4593ebcb62d2103cb73 (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
33
From b9ebd61336b11f9ea11c66ef7a15b88ff4e346b3 Mon Sep 17 00:00:00 2001
From: Harry Wentland <harry.wentland@amd.com>
Date: Thu, 13 Apr 2017 10:29:28 -0400
Subject: [PATCH 0328/4131] drm/dp-helper: DP_TEST_MISC1 should be
 DP_TEST_MISC0

Bring this in line with spec and what commit in upstream drm tree.

v2: Update DC usage of DP_TEST_MISC0

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index 802d8cc..9f12ba8 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@ -1691,7 +1691,7 @@ static void dp_test_send_link_test_pattern(struct core_link *link)
 			sizeof(dpcd_test_pattern));
 	core_link_read_dpcd(
 			link,
-			DP_TEST_MISC1,
+			DP_TEST_MISC0,
 			&dpcd_test_params.raw,
 			sizeof(dpcd_test_params));
 
-- 
2.7.4