Thread (34 messages) 34 messages, 4 authors, 2022-03-15

Re: [PATCH v2 RFC 07/10] drm/gem-fb-helper: Use actual bpp for size calculations

From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2022-03-09 13:16:30
Also in: dri-devel, linux-m68k, lkml

On 3/7/22 21:52, Geert Uytterhoeven wrote:
The AFBC helpers derive the number of bits per pixel from the deprecated
drm_format_info.cpp[] field, which does not take into account block
sizes.

Fix this by using the actual number of bits per pixel instead.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
RFC, as this code path was untested.
Looks good to me but haven't tested either.

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

-- 
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help