sna: Log when the framebuffer changes size

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-05-24 15:08:13 +01:00
parent 820f97ede7
commit e2e139923d
1 changed files with 4 additions and 0 deletions

View File

@ -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);