diff options
| author | Dave Gordon <[email protected]> | 2016-08-09 15:19:22 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2016-08-10 10:40:05 +0100 |
| commit | c18468c4b2dbf08854dba4f041c8c1845bf0cc9c (patch) | |
| tree | 5702381f0e41cb4af0e8c88bae29ea2c5a8ff5d3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e02757d91f7481093742bb32385567499a59354c (diff) | |
drm/i915/guc: use for_each_engine_id() where appropriate
Now that host structures are indexed by host engine-id rather than
guc_id, we can usefully convert some for_each_engine() loops to use
for_each_engine_id() and avoid multiple dereferences of engine->id.
Also a few related tweaks to cache structure members locally wherever
they're used more than once or twice, hopefully eliminating memory
references.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions