drm/amdgpu: remove amdgpu_bo_gpu_accessible
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove amdgpu_bo_gpu_accessible
Not used any more.
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 13 ------------- 1 file changed, 13 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0 -13
@@ -193,19 +193,6 @@ static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo)return drm_vma_node_offset_addr (&bo->tbo.vma_node); } -/** -* amdgpu_bo_gpu_accessible - return whether the bo is currently in memory that -* is accessible to the GPU. -*/ -static inline bool amdgpu_bo_gpu_accessible (struct amdgpu_bo *bo) -{ -switch (bo->tbo.mem.mem_type) { -case TTM_PL_TT :return amdgpu_gtt_mgr_has_gart_addr (&bo->tbo.mem); -case TTM_PL_VRAM :return true; -default :return false; - } -} -/** * amdgpu_bo_in_cpu_visible_vram - check if BO is (partly) in visible VRAM */
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180828122052.17669-1-christian.koenig-5C7GfCeVMHo@public.gmane.org
Michel Dänzer
Reviewed-byQuoted 22 lines · Christian König
Not used any more.
Signed-off-by Christian König <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 13 ------------- 1 file changed, 13 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0
-6@@ -193,19 +193,6 @@ static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo)return drm_vma_node_offset_addr (&bo->tbo.vma_node); } -/** -* amdgpu_bo_gpu_accessible - return whether the bo is currently in memory that -* is accessible to the GPU. -*/ -static inline bool amdgpu_bo_gpu_accessible (struct amdgpu_bo *bo) -{
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) · line 198
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0
-7-switch (bo->tbo.mem.mem_type) { -case TTM_PL_TT :return amdgpu_gtt_mgr_has_gart_addr (&bo->tbo.mem); -case TTM_PL_VRAM :return true; -default :return false; - } -} -/** * amdgpu_bo_in_cpu_visible_vram - check if BO is (partly) in visible VRAM */
Reviewed-by Michel Dänzer <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Felix Kuehling
Reviewed-byQuoted 3 lines · Christian König
Not used any more.
Signed-off-by Christian König <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 13 ------------- 1 file changed, 13 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0
-6@@ -193,19 +193,6 @@ static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo)return drm_vma_node_offset_addr (&bo->tbo.vma_node); } -/** -* amdgpu_bo_gpu_accessible - return whether the bo is currently in memory that -* is accessible to the GPU. -*/ -static inline bool amdgpu_bo_gpu_accessible (struct amdgpu_bo *bo) -{
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) · line 198
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0
-7-switch (bo->tbo.mem.mem_type) { -case TTM_PL_TT :return amdgpu_gtt_mgr_has_gart_addr (&bo->tbo.mem); -case TTM_PL_VRAM :return true; -default :return false; - } -} -/** * amdgpu_bo_in_cpu_visible_vram - check if BO is (partly) in visible VRAM */
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx