Skip to content

Commit 7e4cb7d

Browse files
superm1alexdeucher
authored andcommitted
drm/amd: Clarify kdoc for amdgpu.gttsize
Effectively amdgpu.gttsize gets set to ~1/2 of RAM, but that's controlled by what the TTM page limit is set to. Clarify the kdoc. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent dc91527 commit 7e4cb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ module_param_named(gartsize, amdgpu_gart_size, uint, 0600);
280280
/**
281281
* DOC: gttsize (int)
282282
* Restrict the size of GTT domain (for userspace use) in MiB for testing.
283-
* The default is -1 (Use 1/2 RAM, minimum value is 3GB).
283+
* The default is -1 (Use value specified by TTM).
284284
*/
285285
MODULE_PARM_DESC(gttsize, "Size of the GTT userspace domain in megabytes (-1 = auto)");
286286
module_param_named(gttsize, amdgpu_gtt_size, int, 0600);

0 commit comments

Comments
 (0)