[Intel-gfx] [PATCH v3 25/27] drm/i915: Sanitize GT PM before reset
Sagar Arun Kamble
sagar.a.kamble at intel.com
Tue Aug 23 10:39:58 UTC 2016
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble at intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 0265adc..a35dee5 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -1761,6 +1761,8 @@ int i915_reset(struct drm_i915_private *dev_priv)
unsigned reset_counter;
int ret;
+ intel_sanitize_gt_powersave(dev_priv);
+
mutex_lock(&dev->struct_mutex);
/* Clear any previous failed attempts at recovery. Time to try again. */
--
1.9.1
More information about the Intel-gfx
mailing list