mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-07 07:38:19 +02:00
It's incorrect to strip an explicit modifier. Daniels' docs [1]
states:
> when importing a buffer, the user may supply `DRM_FORMAT_MOD_INVALID` as the
> buffer modifier (or not supply a modifier) to indicate that the modifier is
> unknown for whatever reason; this is only acceptable when the buffer has
> not been allocated with an explicit modifier
[1]: https://lore.kernel.org/dri-devel/20210905122742.86029-1-daniels@collabora.com/
Signed-off-by: Simon Ser <contact@emersion.fr>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| vfb | ||
| xwayland | ||
| meson.build | ||