diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2013-05-28 22:22:19 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-31 14:54:09 -0400 |
commit | 4a3dd19d94c65323d71b2ffc7e63940f00acfb47 (patch) | |
tree | 5662e690eb6b801ca43cb686b0160cca100a078e /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | ad776f8b09d66e0145479fdbde2a710e5892441f (diff) |
drm/i915: Introduce VECS: the 4th ring
The video enhancement command streamer is a new ring on HSW which does
what it sounds like it does. This patch provides the most minimal
inception of the ring.
In order to support a new ring, we need to bump the number. The patch
may look trivial to the untrained eye, but bumping the number of rings
is a bit scary. As such the patch is not terribly useful by itself, but
a pretty nice place to find issues during a bisection.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 5df179127e8b..ead979a94105 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -915,6 +915,8 @@ void intel_ring_setup_status_page(struct intel_ring_buffer *ring) | |||
915 | case VCS: | 915 | case VCS: |
916 | mmio = BSD_HWS_PGA_GEN7; | 916 | mmio = BSD_HWS_PGA_GEN7; |
917 | break; | 917 | break; |
918 | case VECS: | ||
919 | BUG(); | ||
918 | } | 920 | } |
919 | } else if (IS_GEN6(ring->dev)) { | 921 | } else if (IS_GEN6(ring->dev)) { |
920 | mmio = RING_HWS_PGA_GEN6(ring->mmio_base); | 922 | mmio = RING_HWS_PGA_GEN6(ring->mmio_base); |