drm: dp helper: Add DP test sink CRC definition.
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Tue, 14 Jan 2014 18:21:49 +0000 (16:21 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Jan 2014 08:55:23 +0000 (09:55 +0100)
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>
drivers/gpu/drm/i915/i915_gem_execbuffer.c
include/drm/drm_dp_helper.h

index bd5f4e7562893a6189487d182ca9459d6a5291a5..0c6bcff740c243755d8556a371fd8c102246769d 100644 (file)
@@ -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
index 1d09050a8c001749ba26087581b93cb2de1f9153..73c3d1f2b20d58bdfc6c2d08558829a66a647430 100644 (file)
 
 #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