Skip to content

kms-plane: Restore adding format fallbacks

There were fallbacks in place in case IN_FORMATS didn't yield any usable formats: the formats in the drmModePlane struct, and a hard coded array. The lack of these fallbacks in place could result in a segfault as code using the supported plane formats assumed there were at least something in there.

Merge request reports