diff options
| author | Matthew Brost <[email protected]> | 2022-03-16 16:45:38 -0700 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2022-03-18 16:09:57 -0700 |
| commit | 6f270e1488d7a85e0c93e6536d0073796adf8b4f (patch) | |
| tree | 3efdd70f193f2f647ee8b9015d207d987efea401 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b4ac33b973233dc08a56c8ef9d3c2edeab7a4370 (diff) | |
drm/i915: Add logical mapping for video decode engines
Add logical mapping for VDBOXs. This mapping is required for
split-frame workloads, which otherwise fail with
00000000-F8C53528: [GUC] 0441-INVALID_ENGINE_SUBMIT_MASK
... if the application is using the logical id to reorder the engines and
then using it for the batch buffer submission. It's not a big problem on
media version 11 and 12 as they have only 2 instances of VCS and the
logical to physical mapping is monotonically increasing - if the
application is not using the logical id.
Changing it for the previous platforms allows the media driver
implementation for the next ones (12.50 and above) to be the same,
checking the logical id. It should also not introduce any bug for the
old versions of userspace not checking the id.
The mapping added here is the complete map needed by XEHPSDV. Previous
platforms with only 2 instances will just use a partial map and should
still work.
v2: Remove static from map variable (José)
Cc: Matt Roper <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
[ Extend the mapping to media versions 11 and 12 and give proper
justification in the commit message why ]
Signed-off-by: Lucas De Marchi <[email protected]>
Acked-by: Matthew Brost <[email protected]>
Reviewed-by: José Roberto de Souza <[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