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.
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.