[PATCH 2/2] auto-pm
Chris Wilson
chris at chris-wilson.co.uk
Thu Sep 26 08:14:49 UTC 2019
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 2fd3c097e1f5..e49ed6a7810e 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -561,14 +561,15 @@ void intel_runtime_pm_enable(struct intel_runtime_pm *rpm)
* so the driver's own RPM reference tracking asserts also work on
* platforms without RPM support.
*/
+ pm_runtime_dont_use_autosuspend(kdev);
if (!rpm->available) {
int ret;
- pm_runtime_dont_use_autosuspend(kdev);
+ //pm_runtime_dont_use_autosuspend(kdev);
ret = pm_runtime_get_sync(kdev);
WARN(ret < 0, "pm_runtime_get_sync() failed: %d\n", ret);
} else {
- pm_runtime_use_autosuspend(kdev);
+ //pm_runtime_use_autosuspend(kdev);
}
/*
--
2.23.0
More information about the Intel-gfx-trybot
mailing list