Skip to content

Commit

Permalink
drm/i915: Avoid vmallocing a buffer for the relocations
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Chris Wilson committed Oct 19, 2010
1 parent 55b7d6e commit 2549d6c
Showing 1 changed file with 75 additions and 149 deletions.
Loading

0 comments on commit 2549d6c

Please sign in to comment.