Skip to content

Commit 8811d9e

Browse files
animesh-mannamlankhorst
authored andcommitted
drm/amd/display: Align macro name as per DP spec
[Why]: Aligh with DP spec wanted to follow same naming convention. [How]: Changed the macro name of the dpcd address used for getting requested test-pattern. Cc: Harry Wentland <harry.wentland@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Animesh Manna <animesh.manna@intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200316103759.12867-2-animesh.manna@intel.com
1 parent 12ab316 commit 8811d9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,7 @@ static void dp_test_send_phy_test_pattern(struct dc_link *link)
25302530
/* get phy test pattern and pattern parameters from DP receiver */
25312531
core_link_read_dpcd(
25322532
link,
2533-
DP_TEST_PHY_PATTERN,
2533+
DP_PHY_TEST_PATTERN,
25342534
&dpcd_test_pattern.raw,
25352535
sizeof(dpcd_test_pattern));
25362536
core_link_read_dpcd(

‎include/drm/drm_dp_helper.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@
701701
# define DP_TEST_CRC_SUPPORTED (1 << 5)
702702
# define DP_TEST_COUNT_MASK 0xf
703703

704-
#define DP_TEST_PHY_PATTERN 0x248
704+
#define DP_PHY_TEST_PATTERN 0x248
705705
#define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250
706706
#define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251
707707
#define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252

0 commit comments

Comments
 (0)