Skip to contentSkip to conversation

drm/dp-helper: DP_TEST_MISC1 should be DP_TEST_MISC0

PATCH In review Harry Wentland 2 participants 2 messages Apr 17, 2017 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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

---
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
 include/drm/drm_dp_helper.h                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1 -1
index 802d8cc99ea3..9f12ba87827a 100644
@@ -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));
 
include/drm/drm_dp_helper.h +1 -1
index 4b14a7674be1..d6a5015976d9 100644
@@ -419,7 +419,7 @@
 
 #define DP_TEST_PATTERN			    0x221
 
-#define DP_TEST_MISC1                       0x232
+#define DP_TEST_MISC0                       0x232
 
 #define DP_TEST_CRC_R_CR		    0x240
 #define DP_TEST_CRC_G_Y			    0x242
Signature · 6 lines
2.11.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20170417135750.16016-1-harry.wentland-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 5 lines · Harry Wentland

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

v2: Update DC usage of DP_TEST_MISC0

Quoted 34 lines
---
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
 include/drm/drm_dp_helper.h                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1 -1
index 802d8cc99ea3..9f12ba87827a 100644
@@ -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));
 
include/drm/drm_dp_helper.h +1 -2
index 4b14a7674be1..d6a5015976d9 100644
@@ -419,7 +419,7 @@
 
 #define DP_TEST_PATTERN                            0x221
 
-#define DP_TEST_MISC1                       0x232
+#define DP_TEST_MISC0                       0x232
 
 #define DP_TEST_CRC_R_CR                   0x240
 #define DP_TEST_CRC_G_Y                            0x242
--

2.11.0

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx