summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenGuo Yin <zhenguo.yin@amd.com>2022-11-18 16:24:07 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-23 09:47:15 -0500
commit2a599113b2f093874283a86bf8dd6c41023015c6 (patch)
treebc80628ac36441972dd0cc298f7bef0ba0828571
parent98928baeb9b323a54b79838065f9bb5e9fa9b17e (diff)
downloadlinux-2a599113b2f093874283a86bf8dd6c41023015c6.tar.bz2
drm/amdgpu: update documentation of parameter amdgpu_gtt_size
Fixes: f7ba887f606b ("drm/amdgpu: Adjust logic around GTT size (v3)") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 5697d456d7d0..279715292d69 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -238,8 +238,7 @@ module_param_named(gartsize, amdgpu_gart_size, uint, 0600);
/**
* DOC: gttsize (int)
- * Restrict the size of GTT domain in MiB for testing. The default is -1 (It's VRAM size if 3GB < VRAM < 3/4 RAM,
- * otherwise 3/4 RAM size).
+ * Restrict the size of GTT domain in MiB for testing. The default is -1 (Use 1/2 RAM, minimum value is 3GB).
*/
MODULE_PARM_DESC(gttsize, "Size of the GTT domain in megabytes (-1 = auto)");
module_param_named(gttsize, amdgpu_gtt_size, int, 0600);