summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-21 17:26:38 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-21 18:34:08 +0200
commit52f843f6ccbd73497c8e9acd9299ebf216d738be (patch)
tree5a67df63cca2c09eda192a41fa81f04744fb1a17 /drivers/gpu/drm/i915/i915_reg.h
parent4b79ebf7b2967e6e905e6e12e113a6ce9a86d045 (diff)
downloadtalos-obmc-linux-52f843f6ccbd73497c8e9acd9299ebf216d738be.tar.gz
talos-obmc-linux-52f843f6ccbd73497c8e9acd9299ebf216d738be.zip
drm/i915: Wire up gen2 CRC support
Really simple, and we don't even have working frame numbers. v2: Actually enable it ... v3: Review from Ville: - Unconditionally enable the border in the CRC checksum for consistency with gen3+. - Handle the "none" source to be able to disable the CRC machinery again. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index d0e61f0c34ce..d1fb06a6a3f0 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -1873,6 +1873,7 @@
#define PIPE_CRC_SOURCE_DP_B_G4X (6 << 28)
#define PIPE_CRC_SOURCE_DP_C_G4X (7 << 28)
/* gen2 doesn't have source selection bits */
+#define PIPE_CRC_INCLUDE_BORDER_I8XX (1 << 30)
#define _PIPE_CRC_RES_1_A_IVB 0x60064
#define _PIPE_CRC_RES_2_A_IVB 0x60068
OpenPOWER on IntegriCloud