summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.com>2017-02-09 06:37:11 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-02-09 09:17:14 +0300
commit5de6bd4c23babc6a00fcd7dc7c90705c9d0ec69e (patch)
tree38740cfec8dd4e354f87e319e58275e81b3243f8 /tools/perf/scripts/python/export-to-postgresql.py
parentb15b2a612dfb8bac9d803f561dd1078fd5c025b9 (diff)
downloadlinux-5de6bd4c23babc6a00fcd7dc7c90705c9d0ec69e.tar.xz
drm/i915/gvt: Map shadow page before using it in shadow page table
MFN usually refers to "Machine Frame Number" in virtulization world. Currently GVT-g populates the shadow PPGTT/GGTT page table with MFN according to the translation between MFN and Guest PFN. When host IOMMU is enabled, GPU DMA transactions go through the IOMMU, GPU needs an IOVA<->MFN mapping to walk the shadow page table in host main memory. This patch will map a page in IOMMU page table before using it in shadow page table and release the map when a shadow page is going to be freed. Signed-off-by: Zhi Wang <zhi.a.wang@intel.com> Signed-off-by: Chuanxiao Dong <chuanxiao.dong@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