diff options
| author | Dave Gordon <[email protected]> | 2016-07-13 16:03:35 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2016-07-14 11:16:18 +0100 |
| commit | c2c7f240081da626ed9da6dc536306d2ad393c9a (patch) | |
| tree | f7b19ed9893ade3fa06cddd36205c254f8a51134 /tools/perf/scripts/python | |
| parent | 035ea405c91e2dc89325a79129cf9af2b9c2ae8e (diff) | |
drm/i915: unify first-stage engine struct setup
intel_lrc.c has a table of "logical rings" (meaning engines), while
intel_ringbuffer.c has separately open-coded initialisation for each
engine. We can deduplicate this somewhat by using the same first-stage
engine-setup function for both modes.
So here we expose the function that transfers information from the
static table of (all) known engines to the dev_priv->engine array of
engines available on this device (adjusting the names along the way)
and then embed calls to it in both the LRC and the legacy-mode setup.
Signed-off-by: Dave Gordon <[email protected]>
Reviewed-by: Chris Wilson <chris-wilson.co.uk>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions