]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Share implementation among conversion helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 27 Apr 2022 14:14:09 +0000 (16:14 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 5 May 2022 06:54:09 +0000 (08:54 +0200)
commiteec8d186c27139742b54706666166dcf8f5e215c
tree49cfc19bb7fbbd268efb7796c5feac68786d8180
parenteff2cb51d74123a7d7f19637b0a2b450645e8a69
drm/format-helper: Share implementation among conversion helpers

Provide format-independent conversion helpers for system and I/O
memory. Implement most existing helpers on top of it. The source and
destination formats of each conversion is handled by a per-line
helper that is given to the generic implementation.

v2:
* remove a blank line

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220427141409.22842-5-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c