[PATCH] drm/panthor: Set FMODE_UNSIGNED_OFFSET in fop_flags

2024-09-29 Thread Emmanuel Gil Peyrot
This fixes a regression introduced in commit 641bb4394f405cba498b100b44541ffc0aed5be1. No panthor device, card or render node, could be open() since this commit, returning EINVAL instead. This prevented Mesa from working on SoCs such as the rk3588 which contains a Mali-G610 GPU. The commit menti

[PATCH] drm/tegra: dc: cap non-cursor plane zpos to 254

2023-05-24 Thread Emmanuel Gil Peyrot
Since cursor plane has the immutable zpos 255, other planes can’t take its place so we can cap them to 254 instead. Thanks emersion! Signed-off-by: Emmanuel Gil Peyrot --- drivers/gpu/drm/tegra/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra

Re: Empty IN_FORMATS in sun4i-drm

2021-12-23 Thread Emmanuel Gil Peyrot
On Tue, Dec 14, 2021 at 06:58:56PM +0100, Jernej Škrabec wrote: > Dne torek, 14. december 2021 ob 13:02:48 CET je Emmanuel Gil Peyrot > napisal(a): > > Hi, > > > > After updating Weston from 9f8561e9 to 07326040 (latest master), it > > fails to run on my PinePhone

Empty IN_FORMATS in sun4i-drm

2021-12-14 Thread Emmanuel Gil Peyrot
file, probably because they use the format list exclusively, without consideration for modifiers. Besides fixing this driver, would it make sense to also make Weston ignore an empty IN_FORMATS and fall back to the format list? Thanks, [1] https://github.com/ascent12/drm_info -- Emmanuel Gil Peyrot

[PATCH libdrm] Synchronize drm/drm_fourcc.h with Linux’ version

2016-01-11 Thread Emmanuel Gil Peyrot
This adds R8, RG88 and GR88, as well as the non-subsampled NV24/NV42 formats. Signed-off-by: Emmanuel Gil Peyrot --- include/drm/drm_fourcc.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index e741b09..59fc54d 100644 --- a

[PATCH] wayland-drm: add a description for every item.

2015-03-25 Thread Emmanuel Gil Peyrot
This makes the generated protocol headers a lot more readable. --- src/egl/wayland/wayland-drm/wayland-drm.xml | 159 +--- 1 file changed, 100 insertions(+), 59 deletions(-) diff --git a/src/egl/wayland/wayland-drm/wayland-drm.xml b/src/egl/wayland/wayland-drm/wayland-drm