mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-08 12:40:32 +01:00
Allow to enable atomic in modesetting DDX
The linux kernel blacklisted atomic for the modesetting DDX to deal with problems with old Xorg versions which didn't have it disabled by default. Ever since, it wasn't possible to enable atomic in modesetting at all anymore. This change doesn't enable atomic by default, but it allows a user to enabled it again. Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
This commit is contained in:
parent
1626e9fa77
commit
9c8b815520
1 changed files with 1 additions and 1 deletions
|
|
@ -1216,7 +1216,7 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
|||
}
|
||||
|
||||
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);
|
||||
} else {
|
||||
ms->atomic_modeset = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue