]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Rework XRGB8888-to-RGB888 conversion
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 8 Aug 2022 12:53:59 +0000 (14:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Aug 2022 07:18:49 +0000 (09:18 +0200)
commit4f659d0391311adc50ef074e3b549638665e3e3c
tree1369b51288526a56232fa5c1f509e595acb8ea7d
parent61508de99d203779ddfd1b49ce195feeb28dcfce
drm/format-helper: Rework XRGB8888-to-RGB888 conversion

Update XRGB8888-to-RGB888 conversion to support struct iosys_map
and convert all users. Although these are single-plane color formats,
the new interface supports multi-plane formats for consistency with
drm_fb_blit().

v2:
* update documentation (Sam)
* add TODO on vaddr location (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220808125406.20752-8-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/gud/gud_pipe.c
drivers/gpu/drm/tiny/cirrus.c
include/drm/drm_format_helper.h