drm/mipi-dbi: Use shadow-plane mappings
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 2 Dec 2022 12:56:43 +0000 (13:56 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 5 Dec 2022 13:21:18 +0000 (14:21 +0100)
commit69c63e88ea9dc44382d508a7608495dec5eb69f9
tree317a21e1f52fccdbcf1b1686d27f0dcfb844f323
parente7caf04d49533fb38d22379be0278a34aad8826f
drm/mipi-dbi: Use shadow-plane mappings

Use the buffer mappings provided by shadow-plane helpers. As the
mappings are established while the commit can still fail, errors
are now reported correctly to callers.

v2:
* use shadow-plane state directly (Noralf)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Noralf Trønnes <noralf@tronnes.org> # drm/tiny/mi0283qt
Link: https://patchwork.freedesktop.org/patch/msgid/20221202125644.7917-8-tzimmermann@suse.de
drivers/gpu/drm/drm_mipi_dbi.c
drivers/gpu/drm/tiny/ili9225.c
drivers/gpu/drm/tiny/st7586.c