]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ast: Add helper for computing framebuffer location in video memory
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 5 Mar 2025 16:30:44 +0000 (17:30 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 12 Mar 2025 07:38:12 +0000 (08:38 +0100)
commitca7a8e8efc9cba4f131b65197bae5011d0a7a250
tree9c64d60dd494c4bb99d802131bf3bf36e820dabd
parent4ee3229bbe6cb0e80f1dedcddda8072bb9cc884f
drm/ast: Add helper for computing framebuffer location in video memory

The ast driver stores the primary plane's image in the framebuffer
memory up to where the cursor is located. Add helpers to calculate
the offset and size.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250305163207.267650-6-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c