Skip to content

backend/drm: make LINEAR modifier to default

There are boards where the GPU hardware is differnet device from display DRM hardware. On some of these boards, the GPU advertises the LINEAR modifier, but the DRM driver does not expose the supported modifiers (hardware supports linear only). In this caes, drm_fb_create() fails because the buffer modifier doesn't match the plane modifier.

By Making the LINEAR instead of INVALID modifier to the default for plane, this issue fixed.

Merge request reports