Re: [PATCH] drm/format-helper: Use drm_format_info_min_pitch() in tests helper

From: Javier Martinez Canillas
Date: Fri Mar 17 2023 - 13:40:14 EST


Thomas Zimmermann <tzimmermann@xxxxxxx> writes:

> Am 16.03.23 um 23:34 schrieb Javier Martinez Canillas:
>> There's a nice macro to calculate the destination pitch that already takes
>> into account sub-byte pixel formats. Use that instead of open coding it.
>>
>> Suggested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>> Signed-off-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
>
> Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
>

Pushed to drm-misc (drm-misc-next). Thanks!

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat