diff --git a/src/mesa/drivers/dri/i915tex/intel_buffers.c b/src/mesa/drivers/dri/i915tex/intel_buffers.c index 62ff54b..d143787 100644 --- a/src/mesa/drivers/dri/i915tex/intel_buffers.c +++ b/src/mesa/drivers/dri/i915tex/intel_buffers.c @@ -264,10 +264,17 @@ intelWindowMoved(struct intel_context *intel) pf_active = pf_pipes && (pf_pipes & intel->sarea->pf_active) == pf_pipes; - if (INTEL_DEBUG & DEBUG_LOCK) - if (pf_active != intel_fb->pf_active) - _mesa_printf("%s - Page flipping %sactive\n", __progname, - pf_active ? "" : "in"); + if (1 /*INTEL_DEBUG & DEBUG_LOCK*/) { + if (pf_active != intel_fb->pf_active || (pf_active && pf_pipes != + intel_fb->pf_pipes)) { + if (pf_active) { + _mesa_printf("%s - Page flipping active, pf_pipes=0x%x\n", + __progname, pf_pipes); + } else { + _mesa_printf("%s - Page flipping inactive\n", __progname); + } + } + } if (pf_active) { /* Sync pages between pipes if we're flipping on both at the same time */ @@ -320,6 +327,14 @@ intelWindowMoved(struct intel_context *intel) drmVBlank vbl; int i; + if (1 /*INTEL_DEBUG & DEBUG_LOCK*/) { + if (flags & VBLANK_FLAG_SECONDARY) { + fprintf(stderr, "Vsync to pipe B\n"); + } else { + fprintf(stderr, "Vsync to pipe A\n"); + } + } + vbl.request.type = DRM_VBLANK_ABSOLUTE; if ( intel_fb->vblank_flags & VBLANK_FLAG_SECONDARY ) {