xf86-video-intel: tools/virtual.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Nov 25 08:14:28 PST 2013


 tools/virtual.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit 5fa1b0a2c5e5d3e7f25bca5b79925a956253a24f
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Nov 25 16:13:45 2013 +0000

    intel-virtual-output: Tweak DBG messages for copying rotation
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/tools/virtual.c b/tools/virtual.c
index a475ba5..54550f9 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -899,7 +899,7 @@ static int context_update(struct context *ctx)
 			DBG(("%s-%s: (x=%d, y=%d, rotation=%d, mode=%ld) -> (x=%d, y=%d, rotation=%d, mode=%ld)\n",
 			     DisplayString(dpy), output->name,
 			     output->x, output->y, output->rotation, output->mode.id,
-			     c->x, c->y, output->rotation, c->mode));
+			     c->x, c->y, c->rotation, c->mode));
 
 			changed |= output->rotation |= c->rotation;
 			output->rotation = c->rotation;
@@ -1096,14 +1096,15 @@ err:
 				XRRFreeOutputInfo(o);
 			}
 			if (rr_crtc == 0) {
-				DBG(("%s: failed to find availble CRTC for %s\n",
+				DBG(("%s: failed to find available CRTC for %s\n",
 				     DisplayString(dst->dpy), dst->name));
 				goto err;
 			}
 
-			DBG(("%s: enabling output '%s' (%d,%d)x(%d,%d) on CRTC:%ld\n",
+			DBG(("%s: enabling output '%s' (%d,%d)x(%d,%d), rotation %d, on CRTC:%ld\n",
 			     DisplayString(dst->dpy), dst->name,
-			     dst->x, dst->y, dst->mode.width, dst->mode.height, (long)rr_crtc));
+			     dst->x, dst->y, dst->mode.width, dst->mode.height,
+			     dst->rotation, (long)rr_crtc));
 			ret = XRRSetCrtcConfig(dst->dpy, res, rr_crtc, CurrentTime,
 					       dst->x, dst->y, dst->mode.id, dst->rotation,
 					       &dst->rr_output, 1);


More information about the xorg-commit mailing list