]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mxsfb: Implement .format_mod_supported
authorDaniel Abrecht <freedesktop-linux-dri-devel@nodmarc.danielabrecht.ch>
Sun, 8 Nov 2020 21:00:01 +0000 (21:00 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Nov 2020 14:22:28 +0000 (15:22 +0100)
commit6ad77874169c68a964e8f1c7b3f4b63cae06e0e1
tree4d6d4db0408aa541f0254dfb2698b41b24312ebf
parent5a46695273ec9ff818cc5690b2bb185890e01ad0
drm: mxsfb: Implement .format_mod_supported

This will make sure applications which use the IN_FORMATS blob
to figure out which modifiers they can use will pick up the
linear modifier which is needed by mxsfb. Such applications
will not work otherwise if an incompatible implicit modifier
ends up being selected.

Before commit 8b91d552a37a ("drm: mxsfb: Stop using DRM simple
display pipeline helper"), the DRM simple display pipeline
helper took care of this.

Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Fixes: 8b91d552a37a ("drm: mxsfb: Stop using DRM simple display pipeline helper")
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/2a99ffffc2378209307e0992a6e97e70@nodmarc.danielabrecht.ch
drivers/gpu/drm/mxsfb/mxsfb_kms.c