On Mon, Oct 9, 2023 at 12:17 PM Srinivasan Shanmugam <[email protected]> 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 <[email protected]> > Cc: Alex Deucher <[email protected]> > Cc: "Pan, Xinhui" <[email protected]> > Signed-off-by: Srinivasan Shanmugam <[email protected]> > --- > > 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 <[email protected]> > * > * 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 >
