mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-08 10:20:35 +01:00
Merge branch 'enable-atomic' into 'master'
Allow to enable atomic in modesetting DDX See merge request xorg/xserver!533
This commit is contained in:
commit
10434d324a
1 changed files with 1 additions and 1 deletions
|
|
@ -1425,7 +1425,7 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
|||
ms->atomic_modeset_capable = (ret == 0);
|
||||
|
||||
if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_ATOMIC, FALSE)) {
|
||||
ret = drmSetClientCap(ms->fd, DRM_CLIENT_CAP_ATOMIC, 1);
|
||||
ret = drmSetClientCap(ms->fd, DRM_CLIENT_CAP_ATOMIC, 2);
|
||||
ms->atomic_modeset = (ret == 0);
|
||||
if (!ms->atomic_modeset)
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Atomic modesetting not supported\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue