summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorZhao Yakui2014-04-17 04:37:37 +0200
committerDaniel Vetter2014-05-05 09:08:46 +0200
commit845f74a701541662bf7d4880a0f4d492b28f2d18 (patch)
tree3eedda3b84166f28ec069797670a8f6452c77933 /drivers/gpu/drm/i915/i915_reg.h
parentdrm/i915: Update the restrict check to filter out wrong Ring ID passed by use... (diff)
downloadkernel-qcow2-linux-845f74a701541662bf7d4880a0f4d492b28f2d18.tar.gz
kernel-qcow2-linux-845f74a701541662bf7d4880a0f4d492b28f2d18.tar.xz
kernel-qcow2-linux-845f74a701541662bf7d4880a0f4d492b28f2d18.zip
drm/i915:Initialize the second BSD ring on BDW GT3 machine
Based on the hardware spec, the BDW GT3 machine has two independent BSD ring that can be used to dispatch the video commands. So just initialize it. V3->V4: Follow Imre's comment to do some minor updates. For example: more comments are added to describe the semaphore between ring. Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> [danvet: Fix up checkpatch error.] 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 8f845556503e..0b8850816379 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -760,6 +760,7 @@ enum punit_power_well {
#define RENDER_RING_BASE 0x02000
#define BSD_RING_BASE 0x04000
#define GEN6_BSD_RING_BASE 0x12000
+#define GEN8_BSD2_RING_BASE 0x1c000
#define VEBOX_RING_BASE 0x1a000
#define BLT_RING_BASE 0x22000
#define RING_TAIL(base) ((base)+0x30)