summaryrefslogtreecommitdiff
path: root/include/drm/display
diff options
context:
space:
mode:
authorArun R Murthy <arun.r.murthy@intel.com>2023-03-02 13:45:31 +0530
committerJani Nikula <jani.nikula@intel.com>2023-03-21 16:16:56 +0200
commit562334d22a05a4793a620a9ef02516f3b8da9ec5 (patch)
treef6c8981dc2b6cc402b9e357fc62b747989456c1c /include/drm/display
parent0a93eeb5aef26f68ef247576662282a5d42c63d5 (diff)
drm: Add SDP Error Detection Configuration Register
DP2.0 E11 defines a new register to facilitate SDP error detection by a 128B/132B capable DPRX device. v2: Update the macro name to reflect the DP spec(Harry) Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230302081532.765821-2-arun.r.murthy@intel.com
Diffstat (limited to 'include/drm/display')
-rw-r--r--include/drm/display/drm_dp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 632376c291db..358db4a9f167 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -692,6 +692,9 @@
# define DP_FEC_LANE_2_SELECT (2 << 4)
# define DP_FEC_LANE_3_SELECT (3 << 4)
+#define DP_SDP_ERROR_DETECTION_CONFIGURATION 0x121 /* DP 2.0 E11 */
+#define DP_SDP_CRC16_128B132B_EN BIT(0)
+
#define DP_AUX_FRAME_SYNC_VALUE 0x15c /* eDP 1.4 */
# define DP_AUX_FRAME_SYNC_VALID (1 << 0)