summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-05-24 15:08:13 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-05-24 15:08:43 +0100
commite2e139923dd000f13602e51d94bc8a265b5e234f (patch)
tree9ad68dd29167ae9095546250bb64e71b7a8456ce
parent820f97ede7a38015a781de72cc265b0b65f86415 (diff)
downloadxf86-video-intel-e2e139923dd000f13602e51d94bc8a265b5e234f.tar.gz
xf86-video-intel-e2e139923dd000f13602e51d94bc8a265b5e234f.tar.bz2
xf86-video-intel-e2e139923dd000f13602e51d94bc8a265b5e234f.zip
sna: Log when the framebuffer changes size
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index ba9bf7987..7818f3498 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2568,6 +2568,10 @@ sna_mode_resize(ScrnInfoPtr scrn, int width, int height)
if (!new_front)
return FALSE;
+ xf86DrvMsg(crtc->scrn->scrnIndex, X_INFO,
+ "resizing framebuffer to %dx%d\n",
+ width, height);
+
for (i = 0; i < xf86_config->num_crtc; i++)
sna_crtc_disable_shadow(sna, to_sna_crtc(xf86_config->crtc[i]));
assert(sna->mode.shadow_active == 0);