diff options
author | Tvrtko Ursulin <[email protected]> | 2016-08-16 17:04:21 +0100 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2016-08-17 11:29:56 +0100 |
commit | 318f89ca205fc2df61954e3b415d93a06691817e (patch) | |
tree | 8f54a01df15f3068b0d57cb2242b25634fdf14c4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5ec2cf7e34be622968e865fa99f6b9bd4494020d (diff) |
drm/i915: Initialize legacy semaphores from engine hw id indexed array
Build the legacy semaphore initialisation array using the engine
hardware ids instead of driver internal ones. This makes the
static array size dependent only on the number of gen6 semaphore
engines.
Also makes the per-engine semaphore wait and signal tables
hardware id indexed saving some more space.
v2: Refactor I915_GEN6_NUM_ENGINES to GEN6_SEMAPHORE_LAST. (Chris Wilson)
v3: More polish. (Chris Wilson)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions