drm/amd/amdgpu: not allow gtt size exceed 75%*system memory size
authorRoger He <Hongbo.He@amd.com>
Fri, 10 Nov 2017 11:05:13 +0000 (19:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:49 +0000 (12:47 -0500)
commit424e2c8580286b75c37dc02f26f4fb6168549d32
tree8b2bf53a1a6c0ffe84e59de56ae56b24f175352e
parent02bab92328b4d4e0f688be960f0fb5fed1c07ea2
drm/amd/amdgpu: not allow gtt size exceed 75%*system memory size

keep consistency with threshold of swapout

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c