drm/ttm: Add DRM_MM_SEARCH_BELOW for TTM_PL_FLAG_TOPDOWN
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 28 Oct 2014 09:35:03 +0000 (18:35 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2014 16:56:32 +0000 (11:56 -0500)
commitc165812cbf6cf4bdd62f174115c01017f55f0933
tree7f47ee7c48d2a57dd01d28f43d69c1085d467c03
parenta8b5ebe6b56cca0f12f0f53cdae2f03950f4100f
drm/ttm: Add DRM_MM_SEARCH_BELOW for TTM_PL_FLAG_TOPDOWN

If the BO should be placed at the top of the area, we should start looking
for holes from the top.

Reviewed-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_manager.c