OSDN Git Service

drm/dp: Add definitions for eDP Rev 1.4a and 1.4b
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 9 Oct 2018 00:23:51 +0000 (17:23 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Sat, 20 Oct 2018 00:15:27 +0000 (17:15 -0700)
VESA eDP 1.4 specification has separate fields defined in
EDP_DPCD_REV for eDP 1.4a and 1.4b eDP revisions.
This patch defines those. Found this when one of my eDP panels
advertises eDP 1.4a (04h) in the EDP_DPCD_REV DPCD field.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181009002351.23085-1-manasi.d.navare@intel.com
include/drm/drm_dp_helper.h

index 2a3843f..9ad98e8 100644 (file)
 # define DP_EDP_12                         0x01
 # define DP_EDP_13                         0x02
 # define DP_EDP_14                         0x03
+# define DP_EDP_14a                         0x04    /* eDP 1.4a */
+# define DP_EDP_14b                         0x05    /* eDP 1.4b */
 
 #define DP_EDP_GENERAL_CAP_1               0x701
 # define DP_EDP_TCON_BACKLIGHT_ADJUSTMENT_CAP          (1 << 0)