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

Christian König ckoenig.leichtzumerken at gmail.com
Fri Nov 18 15:03:20 UTC 2022


Reviewed-by: Christian König <christian.koenig at amd.com>

Am 18.11.22 um 15:52 schrieb Deucher, Alexander:
>
> [Public]
>
>
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ------------------------------------------------------------------------
> *From:* Yin, ZhenGuo (Chris) <ZhenGuo.Yin at amd.com>
> *Sent:* Friday, November 18, 2022 3:49 AM
> *To:* amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
> *Cc:* Deucher, Alexander <Alexander.Deucher at amd.com>; Chen, Jingwen 
> <Jingwen.Chen at amd.com>; Yin, ZhenGuo (Chris) <ZhenGuo.Yin at amd.com>
> *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 <zhenguo.yin at amd.com>
> ---
>  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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20221118/d4c91172/attachment.htm>


More information about the amd-gfx mailing list