[PATCH 1/5] drm/simpledrm: Compute linestride with drm_format_info_min_pitch()

Javier Martinez Canillas javierm at redhat.com
Fri Sep 23 07:39:14 UTC 2022


Hello Thomas,

On 9/22/22 15:09, Thomas Zimmermann wrote:
> If not given, compute the stride with drm_format_info_min_pitch(). It's
> the standard helper for this purpose.
> 
> Suggested-by: Daniel Vetter <daniel at ffwll.ch>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Fixes: fd9e3169e42b ("drm/simpledrm: Compute framebuffer stride if not set")
> Cc: Javier Martinez Canillas <javierm at redhat.com>
> Cc: dri-devel at lists.freedesktop.org
> ---
>  drivers/gpu/drm/tiny/simpledrm.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list