summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-01-20 13:29:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-01-20 13:29:22 +0000
commit55a933aa29434f23674c851f02dce0ce983a0730 (patch)
treea99a3c0e5efc54d3813458889c715e5459dd3339 /tools
parent04ee452439d14e2f8941e989823cb81fb62858e7 (diff)
intel-virtual-output: Tidy some DBG for copying new modes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 050bf1fb..2539425a 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1099,8 +1099,10 @@ static int context_update(struct context *ctx)
RRCrtc rr_crtc;
Status ret;
- DBG(("%s: copying configuration from %s (mode=%ld) to %s\n",
- DisplayString(dst->dpy), src->name, (long)src->mode.id, dst->name));
+ DBG(("%s: copying configuration from %s (mode=%ld: %s) to %s\n",
+ DisplayString(dst->dpy),
+ src->name, (long)src->mode.id, src->mode.name,
+ dst->name));
if (src->mode.id == 0) {
err:
@@ -1140,8 +1142,10 @@ err:
id = XRRCreateMode(dst->dpy, dst->window, &m);
if (id) {
- DBG(("%s(%s-%s): adding mode %ld: %s\n", __func__,
- DisplayString(dst->dpy), dst->name, (long)id, src->mode.name));
+ DBG(("%s: adding mode %ld: %s to %s\n",
+ DisplayString(dst->dpy),
+ (long)id, src->mode.name,
+ dst->name));
XRRAddOutputMode(dst->dpy, dst->rr_output, id);
dst->mode.id = id;
} else {