]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: nuke caching placement flags
authorChristian König <christian.koenig@amd.com>
Wed, 30 Sep 2020 14:44:16 +0000 (16:44 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 15 Oct 2020 10:51:35 +0000 (12:51 +0200)
commitfda3555601aac61a587892e166fdc12992dbc3e2
tree609d12c729903bc175c665ce3cd39ef9b690c234
parent7660d3d39c2cf51082669fd9b4691b1c03d38d95
drm/ttm: nuke caching placement flags

Changing the caching on the fly never really worked
flawlessly.

So stop this completely and just let drivers specific the
desired caching in the tt or bus object.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/394256/
15 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/qxl/qxl_object.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_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_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
include/drm/ttm/ttm_placement.h
include/drm/ttm/ttm_tt.h