Re: [PATCH] drm/amdgpu: update documentation of parameter amdgpu_gtt_size

2022-11-18 Thread Christian König

Reviewed-by: Christian König 

Am 18.11.22 um 15:52 schrieb Deucher, Alexander:


[Public]


Reviewed-by: Alex Deucher 

*From:* Yin, ZhenGuo (Chris) 
*Sent:* Friday, November 18, 2022 3:49 AM
*To:* amd-gfx@lists.freedesktop.org 
*Cc:* Deucher, Alexander ; Chen, Jingwen 
; Yin, ZhenGuo (Chris) 
*Subject:* [PATCH] drm/amdgpu: update documentation of parameter 
amdgpu_gtt_size

Fixes: f7ba887f606b ("drm/amdgpu: Adjust logic around GTT size (v3)")
Signed-off-by: ZhenGuo Yin 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

index 72b77b3ac4fb..987914532104 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -237,8 +237,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);
--
2.35.1



Re: [PATCH] drm/amdgpu: update documentation of parameter amdgpu_gtt_size

2022-11-18 Thread Deucher, Alexander
[Public]

Reviewed-by: Alex Deucher 

From: Yin, ZhenGuo (Chris) 
Sent: Friday, November 18, 2022 3:49 AM
To: amd-gfx@lists.freedesktop.org 
Cc: Deucher, Alexander ; Chen, Jingwen 
; Yin, ZhenGuo (Chris) 
Subject: [PATCH] drm/amdgpu: update documentation of parameter amdgpu_gtt_size

Fixes: f7ba887f606b ("drm/amdgpu: Adjust logic around GTT size (v3)")
Signed-off-by: ZhenGuo Yin 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 72b77b3ac4fb..987914532104 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -237,8 +237,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);
--
2.35.1



[PATCH] drm/amdgpu: update documentation of parameter amdgpu_gtt_size

2022-11-18 Thread ZhenGuo Yin
Fixes: f7ba887f606b ("drm/amdgpu: Adjust logic around GTT size (v3)")
Signed-off-by: ZhenGuo Yin 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 72b77b3ac4fb..987914532104 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -237,8 +237,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);
-- 
2.35.1