diff options
| author | 2025-11-26 10:40:08 +0100 | |
|---|---|---|
| committer | 2025-12-01 08:40:18 +0100 | |
| commit | 1e759ed22a62680c79aab266d73baaa2bee4de9f (patch) | |
| tree | 12e75b9d5efb8a8ad1b88d66d22809deeda878bd /tools/lib/python | |
| parent | drm/panic: Report invalid or unsupported panic modes (diff) | |
drm/ast: Move cursor format conversion into helper function
Move the format conversion of the cursor framebuffer into the new
helper ast_cursor_plane_get_argb4444(). It returns a buffer in system
memory, which the atomic_update handler copies to video memory.
The returned buffer is either the GEM buffer itself, or a temporary
copy within the plane in ARGB4444 format.
As a small change, list supported formats explicitly in the switch
statement. Do not assume ARGB8888 input by default. The cursor
framebuffer knows its format, so should we.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20251126094626.41985-2-tzimmermann@suse.de
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
