Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2019-01-11 17:47:23 +0100
committerPetr Tesarik <ptesarik@suse.cz>2019-01-11 17:47:23 +0100
commit14f6b2802db9813d84b9bca3de4aeb96729248d4 (patch)
treeb59445c489d6ffa37aa4c18f925157f3967bdb0e
parent233a6f55ab6479ce319292bae60b5de93bca3f6d (diff)
patches.drm/0038-drm-i915-psr-Remove-wait_for_idle-for-PSR2.patch. suse-commit: 7bb6074287b644438b02ddd2424d30a4523952c5
-rw-r--r--drivers/gpu/drm/i915/intel_psr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
index 1891776cc1c4..136d77742bf3 100644
--- a/drivers/gpu/drm/i915/intel_psr.c
+++ b/drivers/gpu/drm/i915/intel_psr.c
@@ -747,7 +747,8 @@ int intel_psr_wait_for_idle(const struct intel_crtc_state *new_crtc_state)
*/
return __intel_wait_for_register(dev_priv, EDP_PSR_STATUS,
EDP_PSR_STATUS_STATE_MASK,
- EDP_PSR_STATUS_STATE_IDLE, 50);
+ EDP_PSR_STATUS_STATE_IDLE, 2, 50,
+ NULL);
}
static bool __psr_wait_for_idle_locked(struct drm_i915_private *dev_priv)