]> 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)
commit1a294a8203e97a75ec6a9da198a17cbd9769e515
tree8b2bf53a1a6c0ffe84e59de56ae56b24f175352e
parent55bdf18df3425435499ac624b376cc60afc1932b
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