]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd38c434f4f8c6231b33b78cdcb0c98698968ab56
tree8b2bf53a1a6c0ffe84e59de56ae56b24f175352e
parent53aaa32ad2a8a926b1a3343f8a8f663a2258dff9
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