summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-24 20:49:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-24 20:49:18 +0100
commit74c1cf60a7ce7e79bc727780151f4f233798e5f4 (patch)
tree170fa3d5d2f784802737234e98d7c0158f30dc2b
parentca296c18316a3ce1682beefd5daa4702593cd529 (diff)
sna: Add yet more DBG messages to MST discovery
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 0956619a..d3983ec6 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3601,6 +3601,8 @@ void sna_mode_discover(struct sna *sna)
if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETRESOURCES, &res))
return;
+ DBG(("%s: now %d (was %d) connectors\n", __FUNCTION__,
+ res.count_connectors, sna->mode.num_real_output));
if (res.count_connectors > 32)
return;
@@ -3614,6 +3616,7 @@ void sna_mode_discover(struct sna *sna)
serial = ++sna->mode.serial;
for (i = 0; i < res.count_connectors; i++) {
+ DBG(("%s: connector[%d] = %d\n", __FUNCTION__, i, connectors[i]));
for (j = 0; j < sna->mode.num_real_output; j++) {
xf86OutputPtr output = config->output[j];
if (to_sna_output(output)->id == connectors[i]) {