diff options
author | Adam Jackson <ajax@redhat.com> | 2012-09-20 16:42:45 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-26 08:26:06 -0400 |
commit | da131a46268bf2a67e7b7fa137a90a1279866367 (patch) | |
tree | 950f2e0fac5e23db7f94c2bc1cec059aa88a3114 /include/drm/drm_dp_helper.h | |
parent | a477f4fcbdd48837610974b0d025af1d46051a57 (diff) |
drm/dp: Make sink count DP 1.2 aware
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_dp_helper.h')
-rw-r--r-- | include/drm/drm_dp_helper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 38ffcb4332aa..fe061489f91f 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h | |||
@@ -221,7 +221,8 @@ | |||
221 | # define DP_PSR_FRAME_CAPTURE (1 << 3) | 221 | # define DP_PSR_FRAME_CAPTURE (1 << 3) |
222 | 222 | ||
223 | #define DP_SINK_COUNT 0x200 | 223 | #define DP_SINK_COUNT 0x200 |
224 | # define DP_SINK_COUNT_MASK (31 << 0) | 224 | /* prior to 1.2 bit 7 was reserved mbz */ |
225 | # define DP_GET_SINK_COUNT(x) ((((x) & 0x80) >> 1) | ((x) & 0x3f)) | ||
225 | # define DP_SINK_CP_READY (1 << 6) | 226 | # define DP_SINK_CP_READY (1 << 6) |
226 | 227 | ||
227 | #define DP_DEVICE_SERVICE_IRQ_VECTOR 0x201 | 228 | #define DP_DEVICE_SERVICE_IRQ_VECTOR 0x201 |