diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-07 03:19:42 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-11 15:16:38 -0800 |
commit | 0822a23e048b12c98c654e8b6af711c5f2c97141 (patch) | |
tree | 167b1dd8d68d66efcfdf24886fef2b258274aca4 /present | |
parent | 20bb49ae9ba11d3dccfba191483cd682d9c9d96c (diff) |
present: Change debug output a bit to help diagnose missing vblank signals
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'present')
-rw-r--r-- | present/present.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/present/present.c b/present/present.c index fab105d0d..228d43a20 100644 --- a/present/present.c +++ b/present/present.c @@ -374,6 +374,7 @@ present_event_notify(uint64_t event_id, uint64_t ust, uint64_t msc) present_vblank_ptr vblank, tmp; int s; + DebugPresent(("\te %lld ust %lld msc %lld\n", event_id, ust, msc)); xorg_list_for_each_entry_safe(vblank, tmp, &present_exec_queue, event_queue) { if (vblank->event_id == event_id) { xorg_list_del(&vblank->event_queue); @@ -658,8 +659,10 @@ present_pixmap(WindowPtr window, } if (pixmap) - DebugPresent(("q %p %8lld: %08lx -> %08lx (crtc %d)\n", - vblank, target_msc, vblank->pixmap->drawable.id, vblank->window->drawable.id, target_crtc ? 1 : 0)); + DebugPresent(("q %lld %p %8lld: %08lx -> %08lx (crtc %p)\n", + vblank->event_id, vblank, target_msc, + vblank->pixmap->drawable.id, vblank->window->drawable.id, + target_crtc)); xorg_list_add(&vblank->event_queue, &present_exec_queue); if (target_msc >= crtc_msc) { |