aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorZhi Wang <[email protected]>2019-07-22 14:07:07 +0300
committerZhenyu Wang <[email protected]>2019-08-13 17:55:06 +0800
commit8cfbca7848ffe3f5d49155748814cd68a774e449 (patch)
tree7d9fed21e44cd358b0a90eb72b2ac8e5be8a03a6 /tools/perf/scripts/python/sctop.py
parentf8871ec8fc73f57295703a8d61c8c33d7ab4805b (diff)
drm/i915/gvt: factor out tlb and mocs register offset table
Factor out tlb and mocs register offset table to fix the issues reported by klocwork, #512 and #550. Mostly, the reason why the klocwork reports these problems is because there can be possbilities for platforms, which have more rings than the ring offset table, to take the dirty data from the stack as the register offset. It results to a random HW register offset writting in this scenairo when doing context switch between vGPUs. After the factoring, the ring offset table of TLB and MOCS should be per platform. v2: - Enable TLB register switch for GEN8. (Zhenyu) Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Zhi Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions