[PATCH] drm/format-helper: Use drm_format_info_min_pitch() in tests helper
Javier Martinez Canillas
javierm at redhat.com
Fri Mar 17 17:38:43 UTC 2023
Thomas Zimmermann <tzimmermann at suse.de> 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 at linux-m68k.org>
>> Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
>
> Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
>
Pushed to drm-misc (drm-misc-next). Thanks!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list