]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: roundup the shrink request to prevent skip huge pool
authorRoger He <Hongbo.He@amd.com>
Tue, 21 Nov 2017 08:47:16 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:15 +0000 (12:48 -0500)
commit9513b499c8d5758f5c0a70f1f75b01f787a0f742
tree3d7abc99b4cbcec55d4f3a4f7a5927ff9a073ca3
parent69d2a0026c968bf4e4c350251248f734c7a12ff4
drm/ttm: roundup the shrink request to prevent skip huge pool

e.g. shrink reqeust is less than 512, the logic will skip huge pool

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
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/ttm/ttm_page_alloc.c