diff options
author | Chris Wilson <[email protected]> | 2018-02-19 10:09:26 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-02-19 15:38:59 +0000 |
commit | 2e4a5b25886cde308d3fc896fd584c844bde92a2 (patch) | |
tree | a38d1e5c58dc477e68ce49bcad1ba6d6d0063ef6 /tools/perf/scripts/python/compaction-times.py | |
parent | f0fd96f546fb9e726ff66b1e53b115ada61ebc35 (diff) |
drm/i915: Prune gen8_gt_irq_handler
The compiler is not automatically caching the i915->regs address inside
a register and emitting a load for every mmio access. For simple
functions like gen8_gt_irq_handler that are already using the raw
accessors, we can open-code them for substantial savings:
add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-83 (-83)
Function old new delta
gen8_gt_irq_handler 290 266 -24
gen8_gt_irq_ack 181 122 -59
Total: Before=954637, After=954554, chg -0.01%
v2: Add raw_reg_read/raw_reg_write.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions