Skip to contentSkip to conversation

drm/amdgpu: remove unused variable from struct amdgpu_bo

PATCH In review Nirmoy Das 2 participants 2 messages Feb 18, 2021 – Feb 19, 2021

Subsystems (2)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/amdgpu: remove unused variable from struct amdgpu_bo

Fixes 62914a99dee5a("drm/amdgpu: Use mmu_interval_insert instead of hmm_mirror")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0 -1
index 192627d35bae..8cd96c9330dd 100644
@@ -102,7 +102,6 @@ struct amdgpu_bo {
 	struct amdgpu_bo		*shadow;
 
 	struct ttm_bo_kmap_obj		dma_buf_vmap;
-	struct amdgpu_mn		*mn;
 
 
 #ifdef CONFIG_MMU_NOTIFIER
Signature · 6 lines
2.30.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 18.02.21 um 18:06 schrieb Nirmoy Das:

Quoted 3 lines
Fixes 62914a99dee5a("drm/amdgpu: Use mmu_interval_insert instead of hmm_mirror")
Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0 -0
index 192627d35bae..8cd96c9330dd 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_object.h struct amdgpu_bo { · line 107

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +0 -1
@@ -102,7 +102,6 @@ struct amdgpu_bo {
  	struct amdgpu_bo		*shadow;
 
  	struct ttm_bo_kmap_obj		dma_buf_vmap;
-	struct amdgpu_mn		*mn;
 
 
  #ifdef CONFIG_MMU_NOTIFIER

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx