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)
commit4d09017aec4f2aa5f6109b32f9a037f35c17a9e0
treef99190ee5861323e22cdc0cf40d8cd4842e1385e
parent696560d43b4b07b58cf8604a9b186b32159164d9
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