aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 08:34:51 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 08:34:51 -0400
commitc2fb7916927e989ea424e61ce5fe617e54878827 (patch)
tree02f9d5482075f8931637d82bb697a6470270136a /drivers/gpu/drm/i915/i915_reg.h
parent29de6ce574870a0d3fd157afdbf51c0282e2bf63 (diff)
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
Merge tag 'v3.7-rc2' into drm-intel-next-queued
Linux 3.7-rc2 Backmerge to solve two ugly conflicts: - uapi. We've already added new ioctl definitions for -next. Do I need to say more? - wc support gtt ptes. We've had to revert this for snb+ for 3.7 and also fix a few other things in the code. Now we know how to make it work on snb+, but to avoid losing the other fixes do the backmerge first before re-enabling wc gtt ptes on snb+. And a few other minor things, among them git getting confused in intel_dp.c and seemingly causing a conflict out of nothing ... Conflicts: drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_modes.c include/drm/i915_drm.h 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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 08c51ab43c5..2a48e47f289 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -529,12 +529,15 @@
529# define _3D_CHICKEN2_WM_READ_PIPELINED (1 << 14) 529# define _3D_CHICKEN2_WM_READ_PIPELINED (1 << 14)
530#define _3D_CHICKEN3 0x02090 530#define _3D_CHICKEN3 0x02090
531#define _3D_CHICKEN_SF_DISABLE_OBJEND_CULL (1 << 10) 531#define _3D_CHICKEN_SF_DISABLE_OBJEND_CULL (1 << 10)
532#define _3D_CHICKEN_SF_DISABLE_FASTCLIP_CULL (1 << 5) 532#define _3D_CHICKEN3_SF_DISABLE_FASTCLIP_CULL (1 << 5)
533 533
534#define MI_MODE 0x0209c 534#define MI_MODE 0x0209c
535# define VS_TIMER_DISPATCH (1 << 6) 535# define VS_TIMER_DISPATCH (1 << 6)
536# define MI_FLUSH_ENABLE (1 << 12) 536# define MI_FLUSH_ENABLE (1 << 12)
537 537
538#define GEN6_GT_MODE 0x20d0
539#define GEN6_GT_MODE_HI (1 << 9)
540
538#define GFX_MODE 0x02520 541#define GFX_MODE 0x02520
539#define GFX_MODE_GEN7 0x0229c 542#define GFX_MODE_GEN7 0x0229c
540#define RING_MODE_GEN7(ring) ((ring)->mmio_base+0x29c) 543#define RING_MODE_GEN7(ring) ((ring)->mmio_base+0x29c)
@@ -1802,6 +1805,10 @@
1802 1805
1803/* Video Data Island Packet control */ 1806/* Video Data Island Packet control */
1804#define VIDEO_DIP_DATA 0x61178 1807#define VIDEO_DIP_DATA 0x61178
1808/* Read the description of VIDEO_DIP_DATA (before Haswel) or VIDEO_DIP_ECC
1809 * (Haswell and newer) to see which VIDEO_DIP_DATA byte corresponds to each byte
1810 * of the infoframe structure specified by CEA-861. */
1811#define VIDEO_DIP_DATA_SIZE 32
1805#define VIDEO_DIP_CTL 0x61170 1812#define VIDEO_DIP_CTL 0x61170
1806/* Pre HSW: */ 1813/* Pre HSW: */
1807#define VIDEO_DIP_ENABLE (1 << 31) 1814#define VIDEO_DIP_ENABLE (1 << 31)