summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-11-12 22:35:59 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-11-14 17:38:54 +0000
commitf8a0c7a996ff17191973838e93f5be51c9828174 (patch)
treedeec24eb1b624419c1f68bd9d78125d546941514 /tools/perf/scripts/python/exported-sql-viewer.py
parentf616de0e24d344f98bc0b0bacd3236d65e2efab9 (diff)
downloadlinux-f8a0c7a996ff17191973838e93f5be51c9828174.tar.gz
linux-f8a0c7a996ff17191973838e93f5be51c9828174.zip
drm/i915/gt: Refactor mocs loops into single control macro
We repeatedly (and more so in future) use the same looping construct over the mocs definition table to setup the register state. Refactor the loop construct into a reusable macro. add/remove: 2/1 grow/shrink: 1/2 up/down: 113/-330 (-217) Function old new delta intel_mocs_init_engine.cold - 71 +71 offset - 28 +28 __func__ 17273 17287 +14 intel_mocs_init 143 113 -30 mocs_register.isra 91 - -91 intel_mocs_init_engine 503 294 -209 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191112223600.30993-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions