diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-06 11:11:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-06 11:11:47 +0100 |
commit | 1b1ac5193ead52dc32bf31f851d04600ea81ab1d (patch) | |
tree | a41cde6cb4a91171a9fe9bb48c54ed2712f25d76 /src/sna/sna_display_fake.c | |
parent | ccd605c492ef3fd657bc40ede3f318e7dddbd7a1 (diff) |
sna: Include some DBG for the virtual output detection
So we can see it in the logs along with the regular outputs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_display_fake.c')
-rw-r--r-- | src/sna/sna_display_fake.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c index 06cd7148..fd1419b6 100644 --- a/src/sna/sna_display_fake.c +++ b/src/sna/sna_display_fake.c @@ -130,6 +130,10 @@ sna_output_dpms(xf86OutputPtr output, int dpms) static xf86OutputStatus sna_output_detect(xf86OutputPtr output) { + DBG(("%s(%s) has user modes? %d\n", + __FUNCTION__, output->name, + output->randr_output && output->randr_output->numUserModes)); + if (output->randr_output && output->randr_output->numUserModes) { xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(output->scrn); |