[PATCH 4/7] drm/ofdrm: Set preferred depth from format of scanout buffer
Javier Martinez Canillas
javierm at redhat.com
Fri Nov 18 14:06:58 UTC 2022
On 11/16/22 17:09, Thomas Zimmermann wrote:
> Set the preferred depth from the format of the scanout buffer. The
> value cannot be hardcoded, as the scanout buffer's is only known at
> runtime. Keeping the existing switch statement just duplicates the
> driver's existing logic for format detection.
>
> Also remove the FIXME comment from the call to drm_fbdev_generic_setup()
> as the driver now handles color depth and bpp values correctly.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
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