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

Christian König ckoenig.leichtzumerken at gmail.com
Mon Jan 8 08:12:41 UTC 2024


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 at amd.com>

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 at amd.com>

> ---
>   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)
>   
>   /*



More information about the amd-gfx mailing list