- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 8f50f62cf9030d1839e23a7f1ff9688dec2063e4 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Abrecht <public@danielabrecht.ch>
|
|
Date: Wed, 21 Oct 2020 21:13:30 +0200
|
|
Subject: [PATCH] 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.
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
|
|
|
|
---
|
|
hw/xfree86/drivers/modesetting/driver.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
|
|
index 535f49d..58a1c67 100644
|
|
--- a/hw/xfree86/drivers/modesetting/driver.c
|
|
+++ b/hw/xfree86/drivers/modesetting/driver.c
|
|
@@ -1236,7 +1236,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);
|
|
} else {
|
|
ms->atomic_modeset = FALSE;
|
|
--
|
|
GitLab
|
|
|