diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-01-28 13:35:03 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-02-01 11:24:43 -0300 |
commit | 9fe41a141e5d70463da2b88fc04687233e85cd20 (patch) | |
tree | a886bd40438a484f693ff4189e0111681b16454b /recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch | |
parent | 0686db6d76e1bc2bd36854287e514446e7f26a46 (diff) | |
download | meta-freescale-9fe41a141e5d70463da2b88fc04687233e85cd20.tar.gz |
weston: update to 9.0.0.imx
NXP release imx_5.4.70_2.3.0.
0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken
from NXP BSP.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch')
-rw-r--r-- | recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch b/recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch new file mode 100644 index 00000000..a4444e5d --- /dev/null +++ b/recipes-graphics/wayland/weston/dont-use-plane-add-prop.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Fix atomic modesetting with musl | ||
2 | |||
3 | atomic modesetting seems to fail with drm weston backend and this patch fixes | ||
4 | it, below errors are seen before weston exits | ||
5 | |||
6 | atomic: couldn't commit new state: Invalid argument | ||
7 | |||
8 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/issues/158] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | --- a/libweston/backend-drm/kms.c | ||
12 | +++ b/libweston/backend-drm/kms.c | ||
13 | @@ -1168,8 +1168,8 @@ drm_pending_state_apply_atomic(struct dr | ||
14 | wl_list_for_each(plane, &b->plane_list, link) { | ||
15 | drm_debug(b, "\t\t[atomic] starting with plane %lu disabled\n", | ||
16 | (unsigned long) plane->plane_id); | ||
17 | - plane_add_prop(req, plane, WDRM_PLANE_CRTC_ID, 0); | ||
18 | - plane_add_prop(req, plane, WDRM_PLANE_FB_ID, 0); | ||
19 | + //plane_add_prop(req, plane, WDRM_PLANE_CRTC_ID, 0); | ||
20 | + //plane_add_prop(req, plane, WDRM_PLANE_FB_ID, 0); | ||
21 | } | ||
22 | |||
23 | flags |= DRM_MODE_ATOMIC_ALLOW_MODESET; | ||