summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vboxvideo
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-09-27 11:03:09 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-10-04 10:00:21 +0200
commit0090ef3ecbd4ff176cb793f26d99cd29772cea57 (patch)
tree61f4071b1a074a3a37e510b550a942a0490886f7 /drivers/gpu/drm/vboxvideo
parentdrm/ast: Move cursor offset swapping into ast_show_cursor() (diff)
downloadlinux-0090ef3ecbd4ff176cb793f26d99cd29772cea57.tar.xz
linux-0090ef3ecbd4ff176cb793f26d99cd29772cea57.zip
drm/ast: Allocate cursor BOs at high end of video memory
By putting cursor BOs at the high end of the video memory, we can avoid memory fragmentation. Starting at the low end, contiguous video memory is available for framebuffers. The patch also simplifies the buffer swapping by splitting struct ast_private.cursor_cache BO into two separate boffer objects. Cursor images alternate between these buffers instead of offsets within cursor_cache. v3: * fixes space-before-tab error near AST_HWC_SIGNATURE_CHECKSUM Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190927090309.10254-6-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/vboxvideo')
0 files changed, 0 insertions, 0 deletions