sna: Print probed maximum cursor size

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-03-26 12:17:37 +00:00
parent a273b207b9
commit e46c196ecc
1 changed files with 5 additions and 0 deletions

View File

@ -3488,6 +3488,11 @@ sna_cursor_pre_init(struct sna *sna)
if (drmGetCap(sna->kgem.fd, DRM_CAP_CURSOR_HEIGHT, &value) == 0)
sna->mode.cursor_height = value;
xf86DrvMsg(sna->scrn->scrnIndex, X_PROBED,
"Using a maximum size of %dx%d for hardware cursors\n",
sna->mode.cursor_width,
sna->mode.cursor_height);
}
#if HAS_PIXMAP_SHARING