The vlv_suspend_complete() error path fails to call
intel_display_power_runtime_resume(). Fix it.

Cc: Rodrigo Vivi <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
---
 drivers/gpu/drm/i915/i915_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_driver.c 
b/drivers/gpu/drm/i915/i915_driver.c
index c9ce2b05b787..10427f8f5699 100644
--- a/drivers/gpu/drm/i915/i915_driver.c
+++ b/drivers/gpu/drm/i915/i915_driver.c
@@ -1523,6 +1523,8 @@ static int i915_pm_runtime_suspend(struct device *kdev)
                drm_err(&dev_priv->drm,
                        "Runtime suspend failed, disabling it (%d)\n", ret);
 
+               intel_display_power_runtime_resume(display);
+
                for_each_gt(gt, dev_priv, i)
                        intel_uncore_runtime_resume(gt->uncore);
 
-- 
2.47.3

Reply via email to