• Changbin Du's avatar
    drm/i915/gvt: Add 64K huge gtt support · eb3a3530
    Changbin Du authored
    Finally, this add the first huge gtt support for GVTg - 64K pages. Since
    64K page and 4K page cannot be mixed on the same page table, so we always
    split a 64K entry into small 4K page. And when unshadow guest 64K entry,
    we need ensure all the shadowed entries in shadow page table also get
    For page table which has 64K gtt entry, only PTE#0, PTE#16, PTE#32, ...
    PTE#496 are used. Unused PTEs update should be ignored.
    Signed-off-by: default avatarChangbin Du <changbin.du@intel.com>
    Signed-off-by: Zhenyu Wang's avatarZhenyu Wang <zhenyuw@linux.intel.com>
gtt.c 67.5 KB