mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-24 13:50:44 +02:00
modesetting: unflip not possible when glamor is not set
This is fixing crashes of xfce when running under qemu
This commit is contained in:
parent
d6c02ffd9c
commit
8836b9d243
1 changed files with 3 additions and 0 deletions
|
|
@ -272,6 +272,9 @@ ms_present_check_unflip(RRCrtcPtr crtc,
|
|||
pixmap->devKind != drmmode_bo_get_pitch(&ms->drmmode.front_bo))
|
||||
return FALSE;
|
||||
|
||||
if (!ms->drmmode.glamor)
|
||||
return FALSE;
|
||||
|
||||
#ifdef GBM_BO_WITH_MODIFIERS
|
||||
/* Check if buffer format/modifier is supported by all active CRTCs */
|
||||
gbm = ms->glamor.gbm_bo_from_pixmap(screen, pixmap);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue