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@xxxxxxx> > --- Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat