summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-11-02 21:07:28 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-08 18:09:50 +0100
commit780f18c84cc671071556d37ce198a01feaca00ea (patch)
tree938a7071c4ea6087a9bb761dac52baebf192eb1e /drivers/gpu
parent77df677291ae1c155c29ff82be633cdd0df3f5ca (diff)
downloadtalos-op-linux-780f18c84cc671071556d37ce198a01feaca00ea.tar.gz
talos-op-linux-780f18c84cc671071556d37ce198a01feaca00ea.zip
drm/i915/bdw: BSD init for gen8 also
This was an oversight and should have been in a previous series somewhere. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 08744aaf44a9..e32c08af8e8a 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -2021,7 +2021,7 @@ int intel_init_bsd_ring_buffer(struct drm_device *dev)
ring->id = VCS;
ring->write_tail = ring_write_tail;
- if (IS_GEN6(dev) || IS_GEN7(dev)) {
+ if (INTEL_INFO(dev)->gen >= 6) {
ring->mmio_base = GEN6_BSD_RING_BASE;
/* gen6 bsd needs a special wa for tail updates */
if (IS_GEN6(dev))
OpenPOWER on IntegriCloud