diff options
author | 2018-02-11 14:59:19 +0800 | |
---|---|---|
committer | 2018-02-14 10:34:44 +0800 | |
commit | a26ca6ad4c4aa4afcbfe4c46c33ad98859736245 (patch) | |
tree | 3d766e38edaadda7b83d64ed701a20e4d041a6ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gvt: add 0xe4f0 into gen9 render list (diff) | |
download | linux-dev-a26ca6ad4c4aa4afcbfe4c46c33ad98859736245.tar.xz linux-dev-a26ca6ad4c4aa4afcbfe4c46c33ad98859736245.zip |
drm/i915/gvt: Support BAR0 8-byte reads/writes
GGTT is in BAR0 with 8 bytes aligned. With a qemu patch (commit:
38d49e8c1523d97d2191190d3f7b4ce7a0ab5aa3), VFIO can use 8-byte reads/
writes to access it.
This patch is to support the 8-byte GGTT reads/writes.
Ideally, we would like to support 8-byte reads/writes for the total BAR0.
But it needs more work for handling 8-byte MMIO reads/writes.
This patch can fix the issue caused by partial updating GGTT entry, during
guest booting up.
v3:
- Use intel_vgpu_get_bar_gpa() stead. (Zhenyu)
- Include all the GGTT checking logic in gtt_entry(). (Zhenyu)
v2:
- Limit to GGTT entry. (Zhenyu)
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions