Skip to contentSkip to conversation

drm/amdgpu: Fix stub function name

PATCH In review Kuehling, Felix 3 participants 3 messages Dec 10, 2018 – Dec 11, 2018 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix stub function name

This function was renamed in a previous commit. Update the stub function name for builds with CONFIG_HSA_AMD disabled.

Fixes 62f65d3cb34a ("drm/amdgpu: Add KFD VRAM limit checking")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +1 -1
index 39f7c8c..2dfaf15 100644
@@ -586,7 +586,7 @@ bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm)
 	return false;
 }
 
-void amdgpu_amdkfd_unreserve_system_memory_limit(struct amdgpu_bo *bo)
+void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo)
 {
 }
 
Signature · 6 lines
2.7.4

_______________________________________________
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): 1544477327-21625-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org

Acked-by Andrey Grodzovsky
#2 lore raw

Andrey

Quoted 14 lines · Felix

This function was renamed in a previous commit. Update the stub function name for builds with CONFIG_HSA_AMD disabled.

Fixes 62f65d3cb34a ("drm/amdgpu: Add KFD VRAM limit checking")
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +0 -0
index 39f7c8c..2dfaf15 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm) · line 592

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +1 -1
@@ -586,7 +586,7 @@ bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm)
  	return false;
  }
 
-void amdgpu_amdkfd_unreserve_system_memory_limit(struct amdgpu_bo *bo)
+void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo)
  {
  }
 

_______________________________________________
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): 0b6312a0-d876-eb4c-ac4b-9c70ad083338-5C7GfCeVMHo@public.gmane.org

#4 lore raw

Am 10.12.18 um 22:46 schrieb Grodzovsky, Andrey:

Quoted 23 lines

Andrey

Quoted 17 lines · Felix

This function was renamed in a previous commit. Update the stub function name for builds with CONFIG_HSA_AMD disabled.

Fixes 62f65d3cb34a ("drm/amdgpu: Add KFD VRAM limit checking")
---
   drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +0 -0
index 39f7c8c..2dfaf15 100644
@@ -586,7 +586,7 @@ bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm)
   	return false;
   }
 
Quoted 9 lines

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm) · line 592

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +1 -1
-void amdgpu_amdkfd_unreserve_system_memory_limit(struct amdgpu_bo *bo)
+void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo)
   {
   }
 

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

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