Re: [PATCH 0/5] drm/ssd130x: A few enhancements and cleanups

From: Javier Martinez Canillas
Date: Wed Jun 07 2023 - 03:18:07 EST


Thomas Zimmermann <tzimmermann@xxxxxxx> writes:

Hello Thomas,

> Hi Javierm,
>
> I've read through the patches and they look correct to me.
>
> Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
>

Thanks a lot for your review!

> But I had one question about the page size. You round up to multiples of
> page_size in several places. That could lead to an out-of-bounds access.
> Do you need to allocate GEM buffers to be multiples of page_size as well?
>

That's a good point and I would need to have a closer look to the driver
to determine if that's needed or not as well. If that's the case though,
the issue is already present in the driver. We could fix it as follow-up.

> Best regards
> Thomas
>

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat