[PATCH] drm/gem: Check for valid formats

Simon Ser contact at emersion.fr
Tue Jan 3 23:27:22 UTC 2023


On Tuesday, January 3rd, 2023 at 23:46, Rob Clark <robdclark at gmail.com> wrote:

> drive-by thought/concern, what are the odds that there is some wayland
> compositor out there that creates an fb for every window surface, even
> if it later decides to composite on the GPU because the display does
> not support the format? It seems like there is a non-zero chance of
> breaking userspace..

User-space is prepared for ADDFB2 to fail. Other drivers already reject
IOCTLs with FB parameters not supported for scanout.


More information about the dri-devel mailing list