]> 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)
commit78568600b0c7c2f51dc1f83bda610eb87e3248b4
tree3d7abc99b4cbcec55d4f3a4f7a5927ff9a073ca3
parentee25aeab4a71cd9ceb6867f29f03dc84d59728ec
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