Commit 75a6898f authored by Eric Anholt's avatar Eric Anholt Committed by Chris Wilson
Browse files

drm/i915: Also reinit the BSD and BLT rings after a GPU reset.

Signed-off-by: default avatarEric Anholt <>
Signed-off-by: default avatarChris Wilson <>
parent df9c2042
...@@ -472,9 +472,14 @@ int i915_reset(struct drm_device *dev, u8 flags) ...@@ -472,9 +472,14 @@ int i915_reset(struct drm_device *dev, u8 flags)
*/ */
if (drm_core_check_feature(dev, DRIVER_MODESET) || if (drm_core_check_feature(dev, DRIVER_MODESET) ||
!dev_priv->mm.suspended) { !dev_priv->mm.suspended) {
struct intel_ring_buffer *ring = &dev_priv->render_ring;
dev_priv->mm.suspended = 0; dev_priv->mm.suspended = 0;
if (HAS_BSD(dev))
if (HAS_BLT(dev))
mutex_unlock(&dev->struct_mutex); mutex_unlock(&dev->struct_mutex);
drm_irq_uninstall(dev); drm_irq_uninstall(dev);
drm_irq_install(dev); drm_irq_install(dev);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment