summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2012-12-18 10:31:22 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-18 22:29:55 +0100
commit7dbf9d6e0fd8d42398955de119ccba6c35813c88 (patch)
tree36ce448fdf929638892f96726b5a0cab8be14baf /drivers/gpu/drm/i915/i915_irq.c
parent4d7bb01162b768ca0f7e50aa3f31790d8d08402c (diff)
downloadop-kernel-dev-7dbf9d6e0fd8d42398955de119ccba6c35813c88.zip
op-kernel-dev-7dbf9d6e0fd8d42398955de119ccba6c35813c88.tar.gz
drm/i915: BUG() if fences are used on unsupported platform
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 551f370..6ba0573 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1106,6 +1106,8 @@ static void i915_gem_record_fences(struct drm_device *dev,
error->fence[i] = I915_READ(FENCE_REG_830_0 + (i * 4));
break;
+ default:
+ BUG();
}
}
OpenPOWER on IntegriCloud