sna: Print probed maximum cursor size
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
a273b207b9
commit
e46c196ecc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue