diff options
| author | Chris Wilson <[email protected]> | 2020-01-02 13:17:06 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-01-03 11:26:01 +0000 |
| commit | fb218f2027048e199a76cccb9a131b2afd48ccbe (patch) | |
| tree | 0e2160ccd40f9f731d560d2f6637aa763ac59e26 /tools/perf/scripts/python/compaction-times.py | |
| parent | 49a24e71b2479064f24cea75e69020a6d480b1e5 (diff) | |
drm/i915/gt: Discard stale context state from across idling
Before we idle, on parking, we switch to the kernel context such that we
have a scratch context loaded while the GPU idle, protecting any
precious user state. Be paranoid and assume that the idle state may have
been trashed, and reset the kernel_context image after idling.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Imre Deak <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions