]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Rework RGB565-to-XRGB8888 conversion
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 8 Aug 2022 12:54:00 +0000 (14:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Aug 2022 07:18:49 +0000 (09:18 +0200)
commit9c4df0a6a04c55cf8a3ca51c5973d28bcdb10862
treea5c4f43a3a20b5ee445a89801b79f22d83de6ef1
parent4f659d0391311adc50ef074e3b549638665e3e3c
drm/format-helper: Rework RGB565-to-XRGB8888 conversion

Update RGB565-to-XRGB8888 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:
* 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-9-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c