summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-11-26 12:40:10 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-12-01 10:40:19 +0300
commit4dfb97060f22c6c5bea995302f0f58936d8f3271 (patch)
tree9c8ff4e91b92c86e3e1b95d056644da265b16626 /include/linux
parentef4ed8621a15ea4979dd6c5bde436ae228c4bdfe (diff)
downloadlinux-4dfb97060f22c6c5bea995302f0f58936d8f3271.tar.xz
drm/ast: Wrap cursor framebuffer access in drm_gem_fb_begin/end_cpu_access()
Call drm_gem_fb_begin_cpu_access() and drm_gem_fb_end_cpu_access() around cursor image updates. Imported buffers might have to be synchronized for CPU access before they can be used. Ignore errors from drm_gem_fb_begin_cpu_access(). These errors can often be transitory. The cursor image will be updated on the next frame. Meanwhile display a white square where the cursor would be. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>> Link: https://patch.msgid.link/20251126094626.41985-4-tzimmermann@suse.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions