diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-05-18 14:05:40 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 14:05:40 -0300 |
commit | e973cfd91bc9ab337436d8ccc27e62bd55692f91 (patch) | |
tree | e9b71f7675d495f30dd271c0cbb141b82343fa52 | |
parent | 671eccefdc2ee9d35d259d037a28c23a4edf5e43 (diff) | |
parent | 46e1e6ba216f4dae1c63a6409562380c2ee4ae97 (diff) | |
download | meta-freescale-e973cfd91bc9ab337436d8ccc27e62bd55692f91.tar.gz |
Merge pull request #1539 from dankm/xorg
xserver-xorg: fix patch fuzz
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch index caf2fcd6..24f08f98 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch +++ b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9c8b815520bf52caf780dc4defea0fe2fe8e33a3 Mon Sep 17 00:00:00 2001 | 1 | From 8f50f62cf9030d1839e23a7f1ff9688dec2063e4 Mon Sep 17 00:00:00 2001 |
2 | From: Daniel Abrecht <public@danielabrecht.ch> | 2 | From: Daniel Abrecht <public@danielabrecht.ch> |
3 | Date: Wed, 21 Oct 2020 21:13:30 +0200 | 3 | Date: Wed, 21 Oct 2020 21:13:30 +0200 |
4 | Subject: [PATCH] Allow to enable atomic in modesetting DDX | 4 | Subject: [PATCH] Allow to enable atomic in modesetting DDX |
@@ -12,16 +12,17 @@ This change doesn't enable atomic by default, but it allows a user to | |||
12 | enabled it again. | 12 | enabled it again. |
13 | 13 | ||
14 | Signed-off-by: Daniel Abrecht <public@danielabrecht.ch> | 14 | Signed-off-by: Daniel Abrecht <public@danielabrecht.ch> |
15 | |||
15 | --- | 16 | --- |
16 | hw/xfree86/drivers/modesetting/driver.c | 2 +- | 17 | hw/xfree86/drivers/modesetting/driver.c | 2 +- |
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
18 | 19 | ||
19 | diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c | 20 | diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c |
20 | index 6549ef8e1..bd8576f81 100644 | 21 | index 535f49d..58a1c67 100644 |
21 | --- a/hw/xfree86/drivers/modesetting/driver.c | 22 | --- a/hw/xfree86/drivers/modesetting/driver.c |
22 | +++ b/hw/xfree86/drivers/modesetting/driver.c | 23 | +++ b/hw/xfree86/drivers/modesetting/driver.c |
23 | @@ -1216,7 +1216,7 @@ PreInit(ScrnInfoPtr pScrn, int flags) | 24 | @@ -1236,7 +1236,7 @@ PreInit(ScrnInfoPtr pScrn, int flags) |
24 | } | 25 | ms->atomic_modeset_capable = (ret == 0); |
25 | 26 | ||
26 | if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_ATOMIC, FALSE)) { | 27 | if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_ATOMIC, FALSE)) { |
27 | - ret = drmSetClientCap(ms->fd, DRM_CLIENT_CAP_ATOMIC, 1); | 28 | - ret = drmSetClientCap(ms->fd, DRM_CLIENT_CAP_ATOMIC, 1); |