]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/ttm: remove pointers to globals
authorChristian König <christian.koenig@amd.com>
Wed, 25 Sep 2019 09:38:50 +0000 (11:38 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 25 Oct 2019 09:40:51 +0000 (11:40 +0200)
commit97588b5b9a6b330dc2e3fbf3dea987e37d30194e
treefd96496edb69bcda6a7d006ebd42a7f6be6038ed
parent9165fb879f62a73577867180e890f410f3a239ad
drm/ttm: remove pointers to globals

As the name says global memory and bo accounting is global. So it doesn't
make to much sense having pointers to global structures all around the code.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
Link: https://patchwork.freedesktop.org/patch/332879/
15 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/qxl/qxl_release.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/ttm/ttm_agp_backend.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_memory.h