]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/ast: Support cursor buffers objects in I/O memory
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 26 Nov 2025 09:40:09 +0000 (10:40 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 1 Dec 2025 07:40:19 +0000 (08:40 +0100)
commitef4ed8621a15ea4979dd6c5bde436ae228c4bdfe
treec7682c6cb3327adc01525ccf579cfb3c79bef3cb
parent1e759ed22a62680c79aab266d73baaa2bee4de9f
drm/ast: Support cursor buffers objects in I/O memory

Copy the ARGB4444 cursor buffer to system memory if it is located in
I/O memory. While this cannot happen with ast's native GEM objects, an
imported buffer object might be on the external device's I/O memory.

If the cursor buffer is located in system memory continue to use it
directly.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>>
Link: https://patch.msgid.link/20251126094626.41985-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_cursor.c