summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_mm.c
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2014-04-02 20:33:42 +0300
committerDave Airlie <airlied@redhat.com>2014-04-04 09:28:41 +1000
commitdeadcb36f49bee9b3010382ffe4fe4f5c439f1c5 (patch)
tree336f8795249152bd30182718eba0a690ffd838db /drivers/gpu/drm/drm_mm.c
parent62347f9e0f81d50e9b0923ec8a192f60ab7a1801 (diff)
downloadlinux-deadcb36f49bee9b3010382ffe4fe4f5c439f1c5.tar.gz
linux-deadcb36f49bee9b3010382ffe4fe4f5c439f1c5.tar.xz
drm/radeon: Use two-ended allocation by size, v2
This decreases eviction by up to 20%, by improving the fragmentation quality. No harm in normal cases that fit VRAM fully (PTS gaming suite). In some cases, even the VRAM-fitting cases improved slightly (openarena, urban terror). 512kb was measured as the most optimal threshold for 3d workloads common to radeon. Other drivers may need different thresholds according to their workloads. v2: Nicer formatting Signed-off-by: Lauri Kasanen <cand@gmx.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_mm.c')
0 files changed, 0 insertions, 0 deletions