]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Rework XRGB8888-to-MONO conversion
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 8 Aug 2022 12:54:04 +0000 (14:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Aug 2022 07:18:53 +0000 (09:18 +0200)
commitcd1db9711a4500d6b5125919efac626ff5bd7d17
tree689ce63691da2b6f74b2d266a02b233d13378f8d
parenta05b4f7344d3d718da07b34bd8810a77d19a1eb4
drm/format-helper: Rework XRGB8888-to-MONO conversion

Update XRGB8888-to-MONO 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:
* rebase after renaming CMA helpers to DMA helpers
* update documentation (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220808125406.20752-13-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/solomon/ssd130x.c
drivers/gpu/drm/tiny/repaper.c
include/drm/drm_format_helper.h