diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-27 09:17:44 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-05 13:46:18 -0400 |
commit | d4b8bb2ac1254b98631909251f299f7789b5bed5 (patch) | |
tree | 9d71d1a3e1a9dba28d3a807c2d4532cd6b3c24b7 /drivers/gpu/drm/i915/i915_irq.c | |
parent | 2b9dc9a27b5869f082b08306da14f7c232693954 (diff) |
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.c | 2 |
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 8334550fccf4..722cdfc59a9a 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) | |||
758 | if (atomic_read(&dev_priv->mm.wedged)) { | 758 | if (atomic_read(&dev_priv->mm.wedged)) { |
759 | DRM_DEBUG_DRIVER("resetting chip\n"); | 759 | DRM_DEBUG_DRIVER("resetting chip\n"); |
760 | kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_event); | 760 | kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_event); |
761 | if (!i915_reset(dev, GRDOM_RENDER)) { | 761 | if (!i915_reset(dev)) { |
762 | atomic_set(&dev_priv->mm.wedged, 0); | 762 | atomic_set(&dev_priv->mm.wedged, 0); |
763 | kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_done_event); | 763 | kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_done_event); |
764 | } | 764 | } |