drm: dp helper: Add DP test sink CRC definition.

This address will be used to verify panel CRC for test and
validation purposes.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
[danvet: Fix whitespace fail.]
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Rodrigo Vivi 2014-01-14 16:21:49 -02:00 committed by Daniel Vetter
parent f64f172659
commit a25eebb0af
2 changed files with 11 additions and 1 deletions

View File

@ -131,7 +131,7 @@ eb_lookup_vmas(struct eb_vmas *eb,
if (exec[i].flags & EXEC_OBJECT_NEEDS_GTT && if (exec[i].flags & EXEC_OBJECT_NEEDS_GTT &&
USES_FULL_PPGTT(vm->dev)) { USES_FULL_PPGTT(vm->dev)) {
ret = -EINVAL; ret = -EINVAL;
goto out; goto err;
} }
/* If we have secure dispatch, or the userspace assures us that /* If we have secure dispatch, or the userspace assures us that

View File

@ -279,11 +279,21 @@
#define DP_TEST_PATTERN 0x221 #define DP_TEST_PATTERN 0x221
#define DP_TEST_CRC_R_CR 0x240
#define DP_TEST_CRC_G_Y 0x242
#define DP_TEST_CRC_B_CB 0x244
#define DP_TEST_SINK_MISC 0x246
#define DP_TEST_CRC_SUPPORTED (1 << 5)
#define DP_TEST_RESPONSE 0x260 #define DP_TEST_RESPONSE 0x260
# define DP_TEST_ACK (1 << 0) # define DP_TEST_ACK (1 << 0)
# define DP_TEST_NAK (1 << 1) # define DP_TEST_NAK (1 << 1)
# define DP_TEST_EDID_CHECKSUM_WRITE (1 << 2) # define DP_TEST_EDID_CHECKSUM_WRITE (1 << 2)
#define DP_TEST_SINK 0x270
#define DP_TEST_SINK_START (1 << 0)
#define DP_SOURCE_OUI 0x300 #define DP_SOURCE_OUI 0x300
#define DP_SINK_OUI 0x400 #define DP_SINK_OUI 0x400
#define DP_BRANCH_OUI 0x500 #define DP_BRANCH_OUI 0x500