]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vram: Move VRAM memory manager to GEM VRAM implementation
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Sep 2019 11:09:07 +0000 (13:09 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Sep 2019 17:54:04 +0000 (19:54 +0200)
commit3dc1c67f29174c4836ef1cf843cd0cf2b7689828
treefb2befe06f65e71a3f9f7f30d5cba771cf9d475e
parentc55d8df37eed816f4971b10e5069af421cf2e507
drm/vram: Move VRAM memory manager to GEM VRAM implementation

The separation between GEM VRAM objects and the memory manager is
artificial, as they are only used with each other. Copying both
implementations into the same file is a first step to simplifying
the code.

This patch only moves code without functional changes.

v3:
* update to use dev->vma_offset_manager
v2:
* update for debugfs support
* 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-2-tzimmermann@suse.de
14 files changed:
Documentation/gpu/drm-mm.rst
drivers/gpu/drm/Makefile
drivers/gpu/drm/ast/ast_drv.c
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_ttm.c
drivers/gpu/drm/bochs/bochs.h
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/drm_vram_mm_helper.c [deleted file]
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/vboxvideo/vbox_drv.h
include/drm/drm_gem_vram_helper.h
include/drm/drm_vram_mm_helper.h