diff options
author | Chris Wilson <[email protected]> | 2018-01-25 11:24:42 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-01-25 18:04:25 +0000 |
commit | 09b1a4e4b583b4c54c819563717949807fdbb640 (patch) | |
tree | 094932edd1887247eae3865f74423f4fa19b07e5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 2fcf06805cb063085127d7e3f4ed7842682b3fff (diff) |
drm/i915/lrc: Clear context restore/save inhibit flags for new contexts
CTX_CONTEXT_CONTROL (CTX_SR_CTL) operates as a masked register and so
will only apply the bits that are selected by the upper half. In the
case of selectively enabling sr inhibit, this may mean the context keeps
the current setting (so forgetting to save the context later, eventually
leading to a very upset GPU!).
Fixes: 517aaffe0c1b ("drm/i915/execlists: Inhibit context save/restore for the fake preempt context")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Michal Winiarski <[email protected]>
Cc: Michel Thierry <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Michel Thierry <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions