diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-19 14:36:48 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-20 07:02:57 -0500 |
commit | 87255483070c1e5a37b39cdda4d1e98fa3a13516 (patch) | |
tree | d990f96141f68f99e75b4602a1d31d8109b1c6ef /drivers/gpu/drm/i915/i915_drv.c | |
parent | 71b14ab6184cc618d4c3557205113d3df51e2197 (diff) |
drm/i915: Ditch dev_priv->ums.mm_suspend
Again just complicates gem init functions and makes a general mess out
of everything.
Good riddance!
v2: In my enthusiasm to start removing dri1/ums crud I went overboard a
bit and killed parts of hangcheck. Resurrect it.
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index c9f248acbd69..1df407941700 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -852,10 +852,7 @@ int i915_reset(struct drm_device *dev) | |||
852 | * was running at the time of the reset (i.e. we weren't VT | 852 | * was running at the time of the reset (i.e. we weren't VT |
853 | * switched away). | 853 | * switched away). |
854 | */ | 854 | */ |
855 | if (drm_core_check_feature(dev, DRIVER_MODESET) || | 855 | if (drm_core_check_feature(dev, DRIVER_MODESET)) { |
856 | !dev_priv->ums.mm_suspended) { | ||
857 | dev_priv->ums.mm_suspended = 0; | ||
858 | |||
859 | /* Used to prevent gem_check_wedged returning -EAGAIN during gpu reset */ | 856 | /* Used to prevent gem_check_wedged returning -EAGAIN during gpu reset */ |
860 | dev_priv->gpu_error.reload_in_reset = true; | 857 | dev_priv->gpu_error.reload_in_reset = true; |
861 | 858 | ||