diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-08 16:12:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-08 16:12:06 +0100 |
commit | 38333443b804b9ac6517a7998551b229dc4d5c6c (patch) | |
tree | efc2d402bb028994c474f156a20a1fbf0969994f | |
parent | 082c08789cf9a8c0cc2bf44d0fee579b96c0798f (diff) |
sna: Emit DBG for when we fallback to xf86InitialConfig detection
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_display.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 95ce1b09..dddc6d7d 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3127,8 +3127,10 @@ static bool sna_probe_initial_configuration(struct sna *sna) assert((sna->flags & SNA_IS_HOSTED) == 0); - if (xf86ReturnOptValBool(sna->Options, OPTION_REPROBE, FALSE)) + if (xf86ReturnOptValBool(sna->Options, OPTION_REPROBE, FALSE)) { + DBG(("%s: user requests reprobing\n", __FUNCTION__)); return false; + } /* First scan through all outputs and look for user overrides */ for (i = 0; i < config->num_output; i++) { @@ -3239,6 +3241,8 @@ static bool sna_probe_initial_configuration(struct sna *sna) if (j == config->num_crtc) { /* Can not find the earlier associated CRTC, bail */ + DBG(("%s: existing setup conflicts with output assignment (Zaphod), reprobing\n", + __FUNCTION__)); return false; } } @@ -3273,6 +3277,7 @@ static bool sna_probe_initial_configuration(struct sna *sna) scrn->virtualY = height; xf86SetScrnInfoModes(sna->scrn); + DBG(("%s: SetScrnInfoModes = %p\n", __FUNCTION__, scrn->modes)); return scrn->modes != NULL; } |