diff options
author | Dave Airlie <airlied@redhat.com> | 2015-03-19 14:02:15 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-03-19 14:02:15 +1000 |
commit | 4a87b990801a74874ace5b84e5f7563de202c013 (patch) | |
tree | 5358f1a3f1293fd34c7c4b634a35843905fb2d1c /drivers/gpu | |
parent | 31a55cf145f2e3d74a7488e86bd0b33b64250fce (diff) | |
parent | a239118a24b3bf9089751068e431dfb63dc4168b (diff) | |
download | op-kernel-dev-4a87b990801a74874ace5b84e5f7563de202c013.zip op-kernel-dev-4a87b990801a74874ace5b84e5f7563de202c013.tar.gz |
Merge branch 'drm-fixes-4.0' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
single radeon fix.
* 'drm-fixes-4.0' of git://people.freedesktop.org/~agd5f/linux:
drm/radeon: drop ttm two ended allocation
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index 43e0994..318165d 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c @@ -173,17 +173,6 @@ void radeon_ttm_placement_from_domain(struct radeon_bo *rbo, u32 domain) else rbo->placements[i].lpfn = 0; } - - /* - * Use two-ended allocation depending on the buffer size to - * improve fragmentation quality. - * 512kb was measured as the most optimal number. - */ - if (rbo->tbo.mem.size > 512 * 1024) { - for (i = 0; i < c; i++) { - rbo->placements[i].flags |= TTM_PL_FLAG_TOPDOWN; - } - } } int radeon_bo_create(struct radeon_device *rdev, |