diff options
| author | Chris Wilson <[email protected]> | 2017-02-15 08:43:37 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-02-15 10:05:53 +0000 |
| commit | 894ccebee2b0e606ba9638d20dd87b33568482d7 (patch) | |
| tree | 8411c7a90f0aa3d9982a732f6611c6192adc6ac3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b31144c0daa8c570d3fb60ddbd0e26ba1ea62485 (diff) | |
drm/i915: Micro-optimise gen8_ppgtt_insert_entries()
Improve the sg iteration and in hte process eliminate a bug in
miscomputing the pml4 length as orig_nents<<PAGE_SHIFT is no longer the
full length of the sg table.
v2: Check for the end of the fourth level page table (the final pdpe)
and move onto the next.
v3: Assert that 3lvl insert_pte_entries doesn't overflow its smaller set
of PDP.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions