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 at amd.com> --- 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(-) 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 802d8cc99ea3..9f12ba87827a 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)); diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 4b14a7674be1..d6a5015976d9 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -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