drm/dp: Add definitions for TPS4 bits and macros to check the support
authorManasi Navare <manasi.d.navare@intel.com>
Mon, 22 Jan 2018 22:43:11 +0000 (14:43 -0800)
committerJani Nikula <jani.nikula@intel.com>
Fri, 26 Jan 2018 11:37:14 +0000 (13:37 +0200)
commit41d2f5fa89e3fa772ea27c0e1b7bf0e7c6f295b1
tree4bfc093f0333a472270f8a3f516c73f8ff58cfd3
parente0bd878a959008f02a1280b1dd2c128324586af3
drm/dp: Add definitions for TPS4 bits and macros to check the support

DP 1.4 spec adds a TPS4 training pattern sequence required for
HBR3. This patch adds the corresponding bit definitions in
MAX_DOWNSPREAD register and TRAINING_PATTERN_SET and
inline functions to check if this bit is set and for selecting
a proper TRAINING_PATTERN_MASK that changed to 0x7 on
DP spec 1.4

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1516660991-20697-2-git-send-email-manasi.d.navare@intel.com
include/drm/drm_dp_helper.h