diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-08-10 16:22:10 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-08-11 11:33:10 +0100 |
| commit | c1bb11451ed93aae53efcf461f936a54675dcbea (patch) | |
| tree | de3263fcbacc8069764b266b67e6685653c2ecaf /tools/perf/scripts/python | |
| parent | 17f298cf5458045562157a8bb7a592dbdace3d95 (diff) | |
drm/i915: Store number of active engines in device info
Until now code was calling hweight32 to figure out the
number from device_info->ring_mask at runtime. Instead
we can cache it at engine init time and use directly.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1470842530-35854-1-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
