drm/format-helper: Make "destination_pitch" test usable for mono
authorArthur Grillo <arthurgrillo@riseup.net>
Sat, 11 Mar 2023 12:51:41 +0000 (09:51 -0300)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 16 Mar 2023 20:02:33 +0000 (21:02 +0100)
commit165d5133731a2e045abdd6d9d3c9221fdc2a556e
treecfd3ed691eb1dfff31f6bb640cc2dbc59f0eec93
parent00000922a33d4adb06a947621f553cae12363083
drm/format-helper: Make "destination_pitch" test usable for mono

This test case uses an arbitrary pitch size, different of the default
one, to test if the conversions methods obey.

Change the "destination_pitch" colors to change the monochrome expected
result from being just zeros, as this makes the arbitrary pitch use
unusable.

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230311125141.564801-3-arthurgrillo@riseup.net
drivers/gpu/drm/tests/drm_format_helper_test.c