summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-03-17 11:53:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 13:59:38 +0100
commit0cd0c3867310fe333cd1d035693c273983cbe4ed (patch)
tree4dbb0c0f184de0320eb5e67b06399f9349cc77fb /lib
parente411e5794a33d3b80f57b21c384e37ff06389ea2 (diff)
drm/radeon: drop ttm two ended allocation
commit a239118a24b3bf9089751068e431dfb63dc4168b upstream. 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 effect when buffers were validated later. It also seemed to regress suspend and resume on some systems possibly due to it not taking effect in radeon_bo_create(). radeon_bo_create() and radeon_ttm_placement_from_domain() need to be reworked substantially for this to be optimally effective. Re-enable it at that point. Noticed-by: Oded Gabbay <oded.gabbay@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions