aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-11-27 13:16:00 +0000
committerThomas Zimmermann <[email protected]>2023-11-29 11:20:50 +0000
commitb3e8813773c568fd2d65e9752abfda27442e502e (patch)
tree4bfd1fbb2a8f32f89fabb3a375293edaecfa5652 /drivers/gpu/drm/omapdrm/omap_gem.c
parentfbdev: Move default fb_mmap code into helper function (diff)
downloadkernel-b3e8813773c568fd2d65e9752abfda27442e502e.tar.gz
kernel-b3e8813773c568fd2d65e9752abfda27442e502e.zip
fbdev: Warn on incorrect framebuffer access
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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions