diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-25 16:13:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-25 16:13:45 +0000 |
commit | 5fa1b0a2c5e5d3e7f25bca5b79925a956253a24f (patch) | |
tree | dabe8e2c0f7c5999849b178cb2813271f7174b75 | |
parent | 98efd7f5d94586f8d7c5b2e9c5515f4b37149b08 (diff) |
intel-virtual-output: Tweak DBG messages for copying rotation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tools/virtual.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index a475ba5d..54550f90 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); |