[PATCH 31/32] fbdev: Warn on incorrect framebuffer access

Javier Martinez Canillas javierm at redhat.com
Thu Nov 16 13:12:57 UTC 2023


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Test in framebuffer read, write and drawing helpers if FBINFO_VIRTFB
> has been set correctly. Framebuffers in I/O memory should only be
> accessed with the architecture's respective helpers. Framebuffers
> in system memory should be accessed with the regular load and
> store operations. Presumably not all drivers get this right, so we
> now warn about it.
>
> 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