aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhi Wang <zhi.a.wang@intel.com>2019-07-22 14:07:07 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-08-13 17:55:06 +0800
commit8cfbca7848ffe3f5d49155748814cd68a774e449 (patch)
tree7d9fed21e44cd358b0a90eb72b2ac8e5be8a03a6 /tools/perf/scripts/python
parentdrm/i915/gvt: no need to check return value of debugfs_create functions (diff)
downloadlinux-8cfbca7848ffe3f5d49155748814cd68a774e449.tar.gz
linux-8cfbca7848ffe3f5d49155748814cd68a774e449.zip
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 <zhenyuw@linux.intel.com> Signed-off-by: Zhi Wang <zhi.a.wang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions