summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChandan Uddaraju <chandanu@codeaurora.org>2020-08-27 14:16:54 -0700
committerRob Clark <robdclark@chromium.org>2020-09-15 10:54:33 -0700
commitb22960b8f274382ff165db50faebbde5f8a16c32 (patch)
tree4d4e728417a64e8b503ac29a7d17c576ce36c7ca /include
parent2fb7487aaf71071e02986ccd9c981ba1a790880e (diff)
drm: add constant N value in helper file
The constant N value (0x8000) is used by i915 DP driver. Define this value in dp helper header file to use in multiple Display Port drivers. Change i915 driver accordingly. Change in v6: Change commit message Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org> Signed-off-by: Vara Reddy <varar@codeaurora.org> Signed-off-by: Tanmay Shah <tanmay@codeaurora.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_dp_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index e47dc22ebf50..a31d7aebb8b8 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -1134,6 +1134,7 @@
#define DP_MST_PHYSICAL_PORT_0 0
#define DP_MST_LOGICAL_PORT_0 8
+#define DP_LINK_CONSTANT_N_VALUE 0x8000
#define DP_LINK_STATUS_SIZE 6
bool drm_dp_channel_eq_ok(const u8 link_status[DP_LINK_STATUS_SIZE],
int lane_count);