disp: msm: dp: renaming DP_TEST_PHY_PATTERN

Commit 4342f839ae7e ("drm/dp: get/set phy compliance pattern")
swaps TEST_PHY with PHY_TEST in drm_dp_helper header file. This
changes updates the relevant changes in the dp driver.

Change-Id: I5c24a100022277388af530c526f169a03c6df889
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
This commit is contained in:
Samantha Tran
2020-09-17 10:02:25 -07:00
committed by Nilaan Gunabalachandran
parent 6fa94ff382
commit b5784e4724
4 changed files with 40 additions and 41 deletions

View File

@@ -665,13 +665,13 @@ exit:
static bool dp_link_is_phy_test_pattern_supported(u32 phy_test_pattern_sel)
{
switch (phy_test_pattern_sel) {
case DP_TEST_PHY_PATTERN_NONE:
case DP_TEST_PHY_PATTERN_D10_2_NO_SCRAMBLING:
case DP_TEST_PHY_PATTERN_SYMBOL_ERR_MEASUREMENT_CNT:
case DP_TEST_PHY_PATTERN_PRBS7:
case DP_TEST_PHY_PATTERN_80_BIT_CUSTOM_PATTERN:
case DP_TEST_PHY_PATTERN_CP2520_PATTERN_1:
case DP_TEST_PHY_PATTERN_CP2520_PATTERN_3:
case DP_PHY_TEST_PATTERN_NONE:
case DP_PHY_TEST_PATTERN_D10_2:
case DP_PHY_TEST_PATTERN_ERROR_COUNT:
case DP_PHY_TEST_PATTERN_PRBS7:
case DP_PHY_TEST_PATTERN_80BIT_CUSTOM:
case DP_PHY_TEST_PATTERN_CP2520:
case DP_PHY_TEST_PATTERN_CP2520_3:
return true;
default:
return false;
@@ -693,7 +693,7 @@ static int dp_link_parse_phy_test_params(struct dp_link_private *link)
int const param_len = 0x1;
int ret = 0;
rlen = drm_dp_dpcd_read(link->aux->drm_aux, DP_TEST_PHY_PATTERN,
rlen = drm_dp_dpcd_read(link->aux->drm_aux, DP_PHY_TEST_PATTERN,
&bp, param_len);
if (rlen < param_len) {
DP_ERR("failed to read phy link pattern\n");