]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Support multiple target formats results
authorJosé Expósito <jose.exposito89@gmail.com>
Tue, 26 Jul 2022 23:09:15 +0000 (01:09 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Thu, 28 Jul 2022 16:36:44 +0000 (18:36 +0200)
commite8643104648f9b195e1450d4905f32513e54d07b
treef99190ee5861323e22cdc0cf40d8cd4842e1385e
parent2cf0f96c026d55b61032c5f82c9fdff097ecd3b6
drm/format-helper: Support multiple target formats results

In order to support multiple destination format conversions, store the
destination pitch and the expected result in its own structure.

Tested-by: Tales L. Aparecida <tales.aparecida@gmail.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220726230916.390575-4-jose.exposito89@gmail.com
drivers/gpu/drm/tests/drm_format_helper_test.c