[PATCH 4/4] drm/i915: flush vblank workers before turning vblank off
Chaitanya Kumar Borah
chaitanya.kumar.borah at intel.com
Mon May 6 17:29:03 UTC 2024
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
---
drivers/gpu/drm/i915/display/intel_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display/intel_crtc.c
index 7f935c88726e..31781beacf4c 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc.c
@@ -147,7 +147,7 @@ void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state)
* requires vblank support on some platforms/outputs.
*/
trace_intel_pipe_disable(crtc);
-
+ drm_vblank_work_flush_all(&crtc->base);
drm_crtc_vblank_off(&crtc->base);
assert_vblank_disabled(&crtc->base);
}
--
2.25.1
More information about the Intel-gfx-trybot
mailing list