]> 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)
commit359a4fbe1a6597d9a94c05562d76a150f8d406ae
tree609d12c729903bc175c665ce3cd39ef9b690c234
parentf99f5ece46f9f6159ebfd76a0b5f8cfad6d9bf91
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