summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-24 11:51:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-24 21:08:24 +0000
commit82d71e31ae9d85586099f2eb94902a9dfa55e81a (patch)
tree7a7bdcb7421357db67e097626cddf6e9b28a6e22 /tools/perf/scripts/python
parent0ea60c1d7343e2e757ed519ad82be9f198d1a58b (diff)
downloadlinux-82d71e31ae9d85586099f2eb94902a9dfa55e81a.tar.gz
linux-82d71e31ae9d85586099f2eb94902a9dfa55e81a.zip
drm/i915/gt: Poison GTT scratch pages
Using a clear page for scratch means that we have relatively benign errors in case it is accidentally used, but that can be rather too benign for debugging. If we poison the scratch, ideally it quickly results in an obvious error. v2: Set each page individually just in case we are using highmem for our scratch page. v3: Pick a new scratch register as MI_STORE_REGISTER_MEM does not work with GPR0 on gen7, unbelievably. v4: Haswell still considers 3DPRIM a privileged register! Suggested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Cc: Matthew Auld <matthew.william.auld@gmail.com> Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200124115133.53360-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions