summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_runtime_pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 2c2151f1c47e..21c1dfcb39e7 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -2309,9 +2309,10 @@ void intel_runtime_pm_enable(struct drm_i915_private *dev_priv)
return;
}
- pm_runtime_set_autosuspend_delay(device, 10000); /* 10s */
+ pm_runtime_set_autosuspend_delay(device, 100);
pm_runtime_mark_last_busy(device);
pm_runtime_use_autosuspend(device);
+ pm_runtime_allow(device);
pm_runtime_put_autosuspend(device);
}