On Wed, 31 Aug 2022 at 20:06, Chia-I Wu <olvaffe@xxxxxxxxx> wrote:
Without this, the drm core advertises LINEAR modifier which is
incorrect.
Also userspace virgl does not support modifiers. For example, it causes
chrome on ozone/drm to fail with "Failed to create scanout buffer".
Fixes: 2af104290da5 ("drm: introduce fb_modifiers_not_supported flag in mode_config")
Suggested-by: Shao-Chuan Lee <shaochuan@xxxxxxxxxxxx>
Signed-off-by: Chia-I Wu <olvaffe@xxxxxxxxx>
Reviewed-by: Daniel Stone <daniels@xxxxxxxxxxxxx>