[PATCH 09/10] debug
José Roberto de Souza
jose.souza at intel.com
Wed Sep 22 23:23:00 UTC 2021
---
drivers/gpu/drm/i915/display/intel_psr.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index fd4b72f4a6445..4c30dd0da6a2b 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -2086,8 +2086,11 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
INTEL_FRONTBUFFER_ALL_MASK(intel_dp->psr.pipe);
intel_dp->psr.busy_frontbuffer_bits |= pipe_frontbuffer_bits;
- if (pipe_frontbuffer_bits)
+ if (pipe_frontbuffer_bits) {
+ drm_info(&dev_priv->drm, "intel_psr_invalidate intel_psr_exit\n");
+ dump_stack();
intel_psr_exit(intel_dp);
+ }
mutex_unlock(&intel_dp->psr.lock);
}
@@ -2177,8 +2180,11 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
}
/* By definition flush = invalidate + flush */
- if (pipe_frontbuffer_bits)
+ if (pipe_frontbuffer_bits) {
+ drm_info(&dev_priv->drm, "intel_psr_flush psr_force_hw_tracking_exit\n");
+ dump_stack();
psr_force_hw_tracking_exit(intel_dp);
+ }
if (!intel_dp->psr.active && !intel_dp->psr.busy_frontbuffer_bits)
schedule_work(&intel_dp->psr.work);
--
2.33.0
More information about the Intel-gfx-trybot
mailing list