diff options
| author | Chris Wilson <[email protected]> | 2017-02-15 08:43:36 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-02-15 10:05:52 +0000 |
| commit | b31144c0daa8c570d3fb60ddbd0e26ba1ea62485 (patch) | |
| tree | 5eae0f927ac3fb0c0f1d7c93caa037547268af61 /tools/perf/scripts/python | |
| parent | ba7a5741b9ee6e9f682f949c8db6a96201ab4ca1 (diff) | |
drm/i915: Micro-optimise gen6_ppgtt_insert_entries()
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 <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions