[Intel-gfx] [PATCH 02/19] drm/i915: Micro-optimise gen6_ppgtt_insert_entries()

Matthew Auld matthew.william.auld at gmail.com
Thu Feb 9 11:34:41 UTC 2017


On 2 February 2017 at 15:02, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Inline the address computation to avoid the vfunc call for every page.
> We still have to pay the high overhead of sg_page_iter_next(), but now
> at least GCC can optimise the inner most loop, giving a significant
> boost to some thrashing Unreal Engine workloads.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list