diff options
| author | Mika Kuoppala <[email protected]> | 2019-09-06 16:49:57 +0300 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-09-06 18:12:25 +0100 |
| commit | cdb736fa8b8b65740030ba8f9dc87f0fc3313858 (patch) | |
| tree | e3b0f7d9e84db5c7c6019e6b52194e5af12275db /tools/perf/scripts/python/netdev-times.py | |
| parent | 71cd86cfaa12645ca39e5bbeceb2039af74fba2e (diff) | |
drm/i915: Use engine relative LRIs on context setup
Daniele pointed out that relative mmio works differently in
on context restore. Instead of adding the engine mmio base to offset,
it masks out the base and adds bits [12:2] to current engine base.
This should allow us to construct context register state to be
applicable to all instances, including virtual. And avoid the trouble
of updating the registers on virtual instances when submitting work.
v2: only enable for gen12 for now (Mika)
v3: make enabling readable (Chris)
Bspec: 20206
Cc: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: John Harrison <[email protected]>
Suggested-by: Daniele Ceraolo Spurio <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions