diff options
author | Chris Wilson <[email protected]> | 2021-01-17 09:30:15 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2021-01-18 12:13:48 +0000 |
commit | ace44e13e577c2ae59980e9a6ff5ca253b1cf831 (patch) | |
tree | 0041119216591af4c88d3ec6bdf235d224fec123 /lib/mpi/mpi-sub-ui.c | |
parent | f530a41d13f2f45174fa0996a85edc32278d3fd5 (diff) |
drm/i915/gt: Clear CACHE_MODE prior to clearing residuals
Since we do a bare context switch with no restore, the clear residual
kernel runs on dirty state, and we must be careful to avoid executing
with bad state from context registers inherited from a malicious client.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2955
Fixes: 008ead6ef8f5 ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail")
Fixes: 09aa9e45863e ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail")
Testcase: igt/gem_ctx_isolation # ivb,vlv
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Akeem G Abodunrin <[email protected]>
Reviewed-by: Akeem G Abodunrin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions