diff options
| author | Chris Wilson <[email protected]> | 2019-08-09 13:31:53 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-09 14:06:51 +0100 |
| commit | d5b2a3a4f85ad135123db8fc97ccdbf893546330 (patch) | |
| tree | 8bbb47d8916e9396575ffa4e4743a64c4a6b956f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6cd34b10cd642c15a8e4b2ed5fc4815c12c41d52 (diff) | |
drm/i915: Check for a second VCS engine more carefully
To use the legacy BSD selector, you must have a second VCS engine, or
else the ABI simply maps the request for another engine onto VCS0.
However, we only checked a single VCS1 location and overlooking the
possibility of a sparse VCS set being mapped to the dense ABI.
v2: num_vcs_engines() turns out to be reusable and futureproof it so we
never have to worry about this silly bit of ABI again!
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions