[PATCH 2/6] drm/fbdev-generic: Remove unused prefer_shadow_fbdev flag

Javier Martinez Canillas javierm at redhat.com
Fri Mar 17 12:04:12 UTC 2023


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Remove the flag prefer_shadow_fbdev from struct drm_mode_config.
> Drivers set this flag to enable shadow buffering in the generic
> fbdev emulation. Such shadow buffering is now mandatory, so the
> flag is unused.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

Surprised that there are only two drivers setting the flag. I guess isn't
a common case to have prefer_shadow == 0 and prefer_shadow_fbdev == 1.

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