aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2017-07-06 17:40:31 +0300
committerDaniel Vetter <[email protected]>2017-07-27 09:38:51 +0200
commit9137726abc3bc3217dd3adde67c1dce9a1a87c3f (patch)
treebc38044c4707f620bb9bd3eab0fd94fdd7081a1e /tools/perf/scripts/python/syscall-counts.py
parent2efbda7295f573a16a163affddfed849e097647b (diff)
drm/i915/gen9+: Remove redundant state check during power well toggling
Atm we enable/disable a power well only if it wasn't already enabled/disabled respectively. The only reason for this I can think of is to save the extra MMIO writes. Since the HW state matches the power well's usage counter most of the time the overhead due to these MMIOs is insignificant. Let's simplify the code by making the writes unconditional. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Arkadiusz Hiler <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions