diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-17 09:30:15 +0000 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-01-26 15:45:49 +0200 |
commit | ef99a60ffd9b918354e038bc5e61f007ff7e901d (patch) | |
tree | b4b28e15a83214f0e0bb027903abb3d86a82c063 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 (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: 09aa9e45863e ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail")
Testcase: igt/gem_ctx_isolation # ivb,vlv
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Reviewed-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210117093015.29143-1-chris@chris-wilson.co.uk
(cherry picked from commit ace44e13e577c2ae59980e9a6ff5ca253b1cf831)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions