[lkml]   [2022]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 04/10] drm/framebuffer: Use actual bpp for DRM_IOCTL_MODE_GETFB
On 3/7/22 21:52, Geert Uytterhoeven wrote:
> When userspace queries the properties of a frame buffer, the number of
> bits per pixel is derived 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 <>
> ---

Reviewed-by: Javier Martinez Canillas <>

Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat

 \ /
  Last update: 2022-03-09 13:54    [W:0.714 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site