[PATCH] drm/radeon: drop ttm two ended allocation

2015-03-17 Thread Thomas Hellstrom
On 03/17/2015 04:59 PM, Alex Deucher wrote: > radeon_bo_create() calls radeon_ttm_placement_from_domain() > before ttm_bo_init() is called. radeon_ttm_placement_from_domain() > uses the ttm bo size to determine when to select top down > allocation but since the ttm bo is not initialized yet the >

[PATCH] drm/radeon: drop ttm two ended allocation

2015-03-17 Thread Christian König
On 17.03.2015 16:59, Alex Deucher wrote: > radeon_bo_create() calls radeon_ttm_placement_from_domain() > before ttm_bo_init() is called. radeon_ttm_placement_from_domain() > uses the ttm bo size to determine when to select top down > allocation but since the ttm bo is not initialized yet the > che

[PATCH] drm/radeon: drop ttm two ended allocation

2015-03-17 Thread Alex Deucher
radeon_bo_create() calls radeon_ttm_placement_from_domain() before ttm_bo_init() is called. radeon_ttm_placement_from_domain() uses the ttm bo size to determine when to select top down allocation but since the ttm bo is not initialized yet the check is always false. It only took affect when buffe