Commit 3d2e423e authored by Jani Nikula's avatar Jani Nikula Committed by Dave Airlie

drm/dp: add defines for downstream port types

Detailed cap info at address 80h is not available with DPCD ver
1.0. Whether such devices exist in the wild I don't know, but there
should be no harm done in having the defines for downstream port 0 in
address 05h.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarTodd Previte <tprevite@gmail.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4821ff14
...@@ -77,10 +77,10 @@ ...@@ -77,10 +77,10 @@
#define DP_DOWNSTREAMPORT_PRESENT 0x005 #define DP_DOWNSTREAMPORT_PRESENT 0x005
# define DP_DWN_STRM_PORT_PRESENT (1 << 0) # define DP_DWN_STRM_PORT_PRESENT (1 << 0)
# define DP_DWN_STRM_PORT_TYPE_MASK 0x06 # define DP_DWN_STRM_PORT_TYPE_MASK 0x06
/* 00b = DisplayPort */ # define DP_DWN_STRM_PORT_TYPE_DP (0 << 1)
/* 01b = Analog */ # define DP_DWN_STRM_PORT_TYPE_ANALOG (1 << 1)
/* 10b = TMDS or HDMI */ # define DP_DWN_STRM_PORT_TYPE_TMDS (2 << 1)
/* 11b = Other */ # define DP_DWN_STRM_PORT_TYPE_OTHER (3 << 1)
# define DP_FORMAT_CONVERSION (1 << 3) # define DP_FORMAT_CONVERSION (1 << 3)
# define DP_DETAILED_CAP_INFO_AVAILABLE (1 << 4) /* DPI */ # define DP_DETAILED_CAP_INFO_AVAILABLE (1 << 4) /* DPI */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment