[PATCH 20/22] drm/amdgpu: increase gart size to 512MB

Alex Deucher alexdeucher at gmail.com
Mon Feb 26 17:45:00 UTC 2018


On Mon, Feb 26, 2018 at 12:18 AM, Monk Liu <Monk.Liu at amd.com> wrote:
> 256MB is too small consider PTE/PDE shadow and TTM
> eviction activity
>
> Change-Id: Ifaa30dc730eec36af47fbdeb3cce30de9067b17f
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 6839d93..e925121 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -789,7 +789,7 @@ static int gmc_v9_0_mc_init(struct amdgpu_device *adev)
>                 switch (adev->asic_type) {
>                 case CHIP_VEGA10:  /* all engines support GPUVM */
>                 default:
> -                       adev->gmc.gart_size = 256ULL << 20;
> +                       adev->gmc.gart_size = 512ULL << 20;
>                         break;
>                 case CHIP_RAVEN:   /* DCE SG support */
>                         adev->gmc.gart_size = 1024ULL << 20;
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list