]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: s/FLAG_SG/FLAG_EXTERNAL/
authorMatthew Auld <matthew.auld@intel.com>
Wed, 29 Sep 2021 13:26:27 +0000 (14:26 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 29 Sep 2021 14:17:56 +0000 (16:17 +0200)
commit76ca0b09120afd773f1035d710b7d8fdb25c040c
treee68da04a0d627a23390d7add85dec9827f11686f
parent324be51ce3ab7001ebe87e97bdef81b8aedcf7f0
drm/ttm: s/FLAG_SG/FLAG_EXTERNAL/

It covers more than just ttm_bo_type_sg usage, like with say dma-buf,
since one other user is userptr in amdgpu, and in the future we might
have some more. Hence EXTERNAL is likely a more suitable name.

v2(Christian):
  - Rename these to TTM_TT_FLAGS_*
  - Fix up all the holes in the flag values

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Christian König <christian.koenig@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210929132629.353541-1-matthew.auld@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/radeon/radeon_ttm.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_pool.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_device.h
include/drm/ttm/ttm_tt.h