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

Update XRGB8888-to-XRGB2101010 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-11-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
include/drm/drm_format_helper.h