aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDave Gordon <[email protected]>2016-08-09 15:19:20 +0100
committerTvrtko Ursulin <[email protected]>2016-08-10 10:40:05 +0100
commit84b7f88235dfe56048c39229481a010e9754eb6f (patch)
tree6dd6e3fd22cf194d5de125c2471a3c350772b6d1 /tools/perf/scripts/python/bin/stackcollapse-report
parent8888cd015458811d568a152238b0614c586df751 (diff)
drm/i915/guc: refactor guc_init_doorbell_hw()
We have essentially the same code in each of two different loops, so we can refactor it into a little helper function. This also reduces the amount of work done during startup, as we now only reprogram h/w found to be in a state other than that expected, and so avoid the overhead of setting doorbell registers to the state they're already in. Signed-off-by: Dave Gordon <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions