All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] drm/amd: Clarify kdoc for amdgpu.gttsize
@ 2025-01-16 22:00 Mario Limonciello
  2025-01-16 22:00 ` [PATCH v2 2/2] drm/amd: Mark amdgpu.gttsize parameter as deprecated and show warnings on use Mario Limonciello
  2025-01-16 22:15 ` [PATCH v2 1/2] drm/amd: Clarify kdoc for amdgpu.gttsize Alex Deucher
  0 siblings, 2 replies; 4+ messages in thread
From: Mario Limonciello @ 2025-01-16 22:00 UTC (permalink / raw)
  To: amd-gfx; +Cc: Mario Limonciello

From: Mario Limonciello <mario.limonciello@amd.com>

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.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index b911653dd8b6..680b272a83c9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -282,7 +282,7 @@ module_param_named(gartsize, amdgpu_gart_size, uint, 0600);
 /**
  * DOC: gttsize (int)
  * Restrict the size of GTT domain (for userspace use) in MiB for testing.
- * The default is -1 (Use 1/2 RAM, minimum value is 3GB).
+ * The default is -1 (Use value specified by TTM).
  */
 MODULE_PARM_DESC(gttsize, "Size of the GTT userspace domain in megabytes (-1 = auto)");
 module_param_named(gttsize, amdgpu_gtt_size, int, 0600);
-- 
2.48.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-16 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16 22:00 [PATCH v2 1/2] drm/amd: Clarify kdoc for amdgpu.gttsize Mario Limonciello
2025-01-16 22:00 ` [PATCH v2 2/2] drm/amd: Mark amdgpu.gttsize parameter as deprecated and show warnings on use Mario Limonciello
2025-01-16 22:14   ` Alex Deucher
2025-01-16 22:15 ` [PATCH v2 1/2] drm/amd: Clarify kdoc for amdgpu.gttsize Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.