summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-27 15:17:44 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-05 19:46:18 +0200
commitd4b8bb2ac1254b98631909251f299f7789b5bed5 (patch)
tree9d71d1a3e1a9dba28d3a807c2d4532cd6b3c24b7 /drivers/gpu/drm/i915/i915_irq.c
parent2b9dc9a27b5869f082b08306da14f7c232693954 (diff)
downloadop-kernel-dev-d4b8bb2ac1254b98631909251f299f7789b5bed5.zip
op-kernel-dev-d4b8bb2ac1254b98631909251f299f7789b5bed5.tar.gz
drm/i915: kill flags parameter for reset functions
Only half of them even cared, and it's always the same one. Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> 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, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 8334550..722cdfc 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -758,7 +758,7 @@ static void i915_error_work_func(struct work_struct *work)
if (atomic_read(&dev_priv->mm.wedged)) {
DRM_DEBUG_DRIVER("resetting chip\n");
kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_event);
- if (!i915_reset(dev, GRDOM_RENDER)) {
+ if (!i915_reset(dev)) {
atomic_set(&dev_priv->mm.wedged, 0);
kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_done_event);
}
OpenPOWER on IntegriCloud