Skip to content

lima: assume buffer is linear if we get DRM_FORMAT_MOD_INVALID

If we get DRM_FORMAT_MOD_INVALID while importing the buffer it likely means that app doesn't support modifiers and thus assumes linear buffer.

Also add debug flag to disable tiling to unbreak apps if something goes wrong with tiling.

Merge request reports