[PATCH v2] drm/amdgpu: Address member 'gart_placement' not described in 'amdgpu_gmc_gart_location'
Alex Deucher
alexdeucher at gmail.com
Mon Oct 9 16:21:23 UTC 2023
On Mon, Oct 9, 2023 at 12:17 PM Srinivasan Shanmugam
<srinivasan.shanmugam at amd.com> wrote:
>
> Fixes the below:
> drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:274: warning: Function parameter or member 'gart_placement' not described in 'amdgpu_gmc_gart_location'
>
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: "Pan, Xinhui" <Xinhui.Pan at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
> ---
>
> v2:
> - s/in/around
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index 60c81c3d29d5..47772f233a4d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -264,6 +264,7 @@ void amdgpu_gmc_sysvm_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc
> *
> * @adev: amdgpu device structure holding all necessary information
> * @mc: memory controller structure holding memory information
> + * @gart_placement: GART placement region around VRAM
GART placement policy with respect to VRAM
WIth that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> *
> * Function will place try to place GART before or after VRAM.
> * If GART size is bigger than space left then we ajust GART size.
> --
> 2.34.1
>
More information about the amd-gfx
mailing list