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>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 5 additions, 5 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
- drivers/gpu/drm/i915/gem/i915_gem_ttm.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/gem/i915_gem_ttm.c
- drivers/gpu/drm/nouveau/nouveau_bo.c 2 additions, 2 deletionsdrivers/gpu/drm/nouveau/nouveau_bo.c
- drivers/gpu/drm/radeon/radeon_ttm.c 4 additions, 4 deletionsdrivers/gpu/drm/radeon/radeon_ttm.c
- drivers/gpu/drm/ttm/ttm_bo.c 2 additions, 2 deletionsdrivers/gpu/drm/ttm/ttm_bo.c
- drivers/gpu/drm/ttm/ttm_bo_util.c 2 additions, 2 deletionsdrivers/gpu/drm/ttm/ttm_bo_util.c
- drivers/gpu/drm/ttm/ttm_bo_vm.c 1 addition, 1 deletiondrivers/gpu/drm/ttm/ttm_bo_vm.c
- drivers/gpu/drm/ttm/ttm_pool.c 1 addition, 1 deletiondrivers/gpu/drm/ttm/ttm_pool.c
- drivers/gpu/drm/ttm/ttm_tt.c 12 additions, 12 deletionsdrivers/gpu/drm/ttm/ttm_tt.c
- include/drm/ttm/ttm_device.h 1 addition, 1 deletioninclude/drm/ttm/ttm_device.h
- include/drm/ttm/ttm_tt.h 9 additions, 9 deletionsinclude/drm/ttm/ttm_tt.h
Loading
Please register or sign in to comment