]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/vram: Have VRAM MM call GEM VRAM functions directly
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Sep 2019 11:09:08 +0000 (13:09 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Sep 2019 17:54:42 +0000 (19:54 +0200)
commitb0e40e0805221dc8e11762717149e2c099e0eb99
tree48284f4a74a72b2d58c51c58f54c3fb7d86755e7
parent6b5ce4a1fb84898d454c0f3c34abc801f86f4145
drm/vram: Have VRAM MM call GEM VRAM functions directly

VRAM MM and GEM VRAM buffer objects are only used with each other;
connected via 3 function pointers. Simplify this code by making the
memory manager call the rsp. functions of the BOs directly; and
remove the functions from the BO's public interface.

v2:
* typos in commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190911110910.30698-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_ttm.c
drivers/gpu/drm/bochs/bochs_mm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/drm_vram_helper_common.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
drivers/gpu/drm/mgag200/mgag200_ttm.c
drivers/gpu/drm/vboxvideo/vbox_ttm.c
include/drm/drm_gem_vram_helper.h
include/drm/drm_vram_mm_helper.h [deleted file]