drm/irq: Even more debug output for drm_wait_one_vblank
Subsystems (2)
PATCH 1/1 drm/irq: Even more debug output for drm_wait_one_vblank
We have a bit of fun with vblank waits not working correctly right away after enabling a crtc, so let's add more debug output to figure what's going on.
References: https://bugs.freedesktop.org/show_bug.cgi?id=84162
Signed-off-by Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_irq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_irq.c +3 -1
@@ -1086,7 +1086,9 @@ void drm_wait_one_vblank(struct drm_device *dev, int crtc) last !=drm_vblank_count (dev, crtc), msecs_to_jiffies(100)); -WARN (ret ==0 ,"vblank wait timed out on crtc %i\n" , crtc); +WARN (ret ==0 , +"vblank wait timed out on crtc %i, last: %u, current %u\n" , + crtc, last,drm_vblank_count (dev, crtc));drm_vblank_put (dev, crtc); }
Signature · 1 line
1.9.3