Re: [PATCH] drm/amdgpu: make a correction on comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 02.01.24 um 21:56 schrieb James Zhu:
Current AMDGPU_VM_RESERVED_VRAM is updated to 8M.

Signed-off-by: James Zhu <James.Zhu@xxxxxxx>

Maybe remove the value completely from the comment, just something like "How much memory be reserved for page tables".

Either way Reviewed-by: Christian König <christian.koenig@xxxxxxx>

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index b6cd565562ad..b788067b9158 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -116,7 +116,7 @@ struct amdgpu_mem_stats;
  #define AMDGPU_VM_FAULT_STOP_FIRST	1
  #define AMDGPU_VM_FAULT_STOP_ALWAYS	2
-/* Reserve 4MB VRAM for page tables */
+/* Reserve 8MB VRAM for page tables */
  #define AMDGPU_VM_RESERVED_VRAM		(8ULL << 20)
/*




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux