@@ -664,7 +664,7 @@ static int dp_link_parse_request(struct dp_link_private *link)
return rlen;
}
- if (!data || (data == DP_TEST_LINK_FAUX_PATTERN)) {
+ if (!data || (data == DP_TEST_PHY_TEST_CHANNEL_CODING_TYPE)) {
drm_dbg_dp(link->drm_dev, "link 0x%x not supported\n", data);
goto end;
}
@@ -807,7 +807,7 @@
# define DP_TEST_LINK_VIDEO_PATTERN (1 << 1)
# define DP_TEST_LINK_EDID_READ (1 << 2)
# define DP_TEST_LINK_PHY_TEST_PATTERN (1 << 3) /* DPCD >= 1.1 */
-# define DP_TEST_LINK_FAUX_PATTERN (1 << 4) /* DPCD >= 1.2 */
+# define DP_TEST_PHY_TEST_CHANNEL_CODING_TYPE (1 << 4)
# define DP_TEST_LINK_AUDIO_PATTERN (1 << 5) /* DPCD >= 1.2 */
# define DP_TEST_LINK_AUDIO_DISABLED_VIDEO (1 << 6) /* DPCD >= 1.2 */
DP_TEST_LINK_FAUX_PATTERN is deprecated since DP1.3 Spec. Update to the latest definition in DP2.1 spec to reflect its true usage in the code. Cc: Jani Nikula <jani.nikula@intel.com> Cc: Rob Clark <robdclark@gmail.com> Cc: Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: Sean Paul <sean@poorly.run> Signed-off-by: Khaled Almahallawy <khaled.almahallawy@intel.com> --- drivers/gpu/drm/msm/dp/dp_link.c | 2 +- include/drm/display/drm_dp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)