drm/cirrus: Remove format test from cirrus_fb_create()
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Feb 2023 16:15:11 +0000 (17:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 13 Mar 2023 09:36:32 +0000 (10:36 +0100)
commit91affdf3517e9255443dfadaf6978ffec16f859a
treeba7732c13a7eb478c512d86beab9d543d763e18c
parentc94aa5e0407e23b9d51bcfd073d83d0e504705c3
drm/cirrus: Remove format test from cirrus_fb_create()

The DRM core implements a format check when setting a framebuffer
for a plane. [1] Remove the unnecessary test from cirrus_fb_create().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://elixir.bootlin.com/linux/v6.1/source/drivers/gpu/drm/drm_atomic.c#L629
Link: https://patchwork.freedesktop.org/patch/msgid/20230215161517.5113-12-tzimmermann@suse.de
drivers/gpu/drm/tiny/cirrus.c