aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2016-10-04 09:29:17 +0100
committerTvrtko Ursulin <[email protected]>2016-10-04 11:09:59 +0100
commit003342a50021132603180d98e49bd17d63e38ccf (patch)
treec332f08ff5f158a6721ca70a50002e8be0cb4a39 /tools/perf/scripts/python
parente9b825f4e98c53213072dd6f1dedaed82994a450 (diff)
drm/i915: Keep track of active forcewake domains in a bitmask
There are current places in the code, and there will be more in the future, which iterate the forcewake domains to find out which ones are currently active. To save them from doing this iteration, we can cheaply keep a mask of active domains in dev_priv->uncore.fw_domains_active. This has no cost in terms of object size, even manages to shrink it overall by 368 bytes on my config. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: "Paneri, Praveen" <[email protected]> Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions