diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-14 12:10:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-19 09:18:36 +0100 |
commit | 2549d6c26ce1c85a76990b972a2c7e8f440455cd (patch) | |
tree | 1e9e3f948ca2f15a1c98c76f1307f87174fd7252 /drivers/gpu/drm/drm_context.c | |
parent | 55b7d6e8c4690047ac001026cb75a47f747db816 (diff) | |
download | linux-next-2549d6c26ce1c85a76990b972a2c7e8f440455cd.tar.gz |
drm/i915: Avoid vmallocing a buffer for the relocations
... perform an access validation check up front instead and copy them in
on-demand, during i915_gem_object_pin_and_relocate(). As around 20% of
the CPU overhead may be spent inside vmalloc for the relocation entries
when submitting an execbuffer [for x11perf -aa10text], the savings are
considerable and result in around a 10% throughput increase [for glyphs].
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_context.c')
0 files changed, 0 insertions, 0 deletions