]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/dp: Add DP_DPCD_REV_XX to drm_dp_helper
authorMatt Atwood <matthew.s.atwood@intel.com>
Fri, 4 May 2018 22:17:59 +0000 (15:17 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 8 May 2018 19:18:42 +0000 (12:18 -0700)
As more differentation occurs between DP spec. Its useful to have these
as macros in a drm_dp_helper.

v2: DPCD_REV_XX to DP_DPCD_REV_XX

Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180504221800.17830-1-matthew.s.atwood@intel.com
include/drm/drm_dp_helper.h

index 930919f74af52778f6c187fcef783275b52e86d3..fc01341a46fa748d79a4673f85b3048674b21195 100644 (file)
 /* AUX CH addresses */
 /* DPCD */
 #define DP_DPCD_REV                         0x000
+# define DP_DPCD_REV_10                     0x10
+# define DP_DPCD_REV_11                     0x11
+# define DP_DPCD_REV_12                     0x12
+# define DP_DPCD_REV_13                     0x13
+# define DP_DPCD_REV_14                     0x14
 
 #define DP_MAX_LINK_RATE                    0x001