Skip to content

Commit

Permalink
drm: dp helper: Add DP test sink CRC definition.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rodrigo Vivi authored and Daniel Vetter committed Jan 27, 2014

Unverified

No user is associated with the committer email.
1 parent f64f172 commit a25eebb
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_gem_execbuffer.c
Original file line number Diff line number Diff line change
@@ -131,7 +131,7 @@ eb_lookup_vmas(struct eb_vmas *eb,
if (exec[i].flags & EXEC_OBJECT_NEEDS_GTT &&
USES_FULL_PPGTT(vm->dev)) {
ret = -EINVAL;
goto out;
goto err;
}

/* If we have secure dispatch, or the userspace assures us that
10 changes: 10 additions & 0 deletions include/drm/drm_dp_helper.h
Original file line number Diff line number Diff line change
@@ -279,11 +279,21 @@

#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_ACK (1 << 0)
# define DP_TEST_NAK (1 << 1)
# 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_SINK_OUI 0x400
#define DP_BRANCH_OUI 0x500

0 comments on commit a25eebb

Please sign in to comment.