]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: Address member 'gart_placement' not described in 'amdgpu_gmc_gart_location'
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Mon, 9 Oct 2023 14:53:32 +0000 (20:23 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 14:58:22 +0000 (10:58 -0400)
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@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index 60c81c3d29d5fe1f692d8c4e31eaab6f387f4bea..a02992bff6afa3ec850b68c6003c34f679397b76 100644 (file)
@@ -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 policy with respect to VRAM
  *
  * Function will place try to place GART before or after VRAM.
  * If GART size is bigger than space left then we ajust GART size.