• Chris Wilson's avatar
    drm/i915: Avoid vmallocing a buffer for the relocations · 2549d6c2
    Chris Wilson authored
    ... 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: default avatarChris Wilson <chris@chris-wilson.co.uk>
    2549d6c2
i915_gem.c 131 KB