drm/dp: add extended receiver capability field present bit
authorMatt Atwood <matthew.s.atwood@intel.com>
Mon, 23 Jul 2018 21:27:34 +0000 (14:27 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 14 Aug 2018 23:46:18 +0000 (16:46 -0700)
This bit was added to DP Training Aux RD interval with DP 1.3. Via
descriptiion of the spec this field indicates the panels true
capabilities are described in DPCD address space 02200h through 022FFh.

v2: version comment update
v3: version comment correction, commit message update
v4: white space correction

Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
[manasi: fixup whitespace per Rodrigo's comment]
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180723212735.23893-1-matthew.s.atwood@intel.com
include/drm/drm_dp_helper.h

index 05cc31b5db161070734a65aacd7d45fad5b43884..698082a02b974f79ba92f1b08b3c61842aab3b7d 100644 (file)
 # define DP_FRAMING_CHANGE_CAP             (1 << 1)
 # define DP_DPCD_DISPLAY_CONTROL_CAPABLE     (1 << 3) /* edp v1.2 or higher */
 
-#define DP_TRAINING_AUX_RD_INTERVAL         0x00e   /* XXX 1.2? */
-# define DP_TRAINING_AUX_RD_MASK            0x7F    /* XXX 1.2? */
+#define DP_TRAINING_AUX_RD_INTERVAL             0x00e   /* XXX 1.2? */
+# define DP_TRAINING_AUX_RD_MASK                0x7F    /* DP 1.3 */
+# define DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT        (1 << 7) /* DP 1.3 */
 
 #define DP_ADAPTER_CAP                     0x00f   /* 1.2 */
 # define DP_FORCE_LOAD_SENSE_CAP           (1 << 0)