drm/i915/gvt: Make PTE iterator 64K entry aware
authorChangbin Du <changbin.du@intel.com>
Tue, 15 May 2018 02:35:40 +0000 (10:35 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jul 2018 02:23:41 +0000 (10:23 +0800)
commit4c9414d7b152bf344521bf786b5748e833270776
tree4c73668eaff04efdc51f169b3a69f0fac1a06d9c
parent155521c93e468211673206e1871b53d26a44a82d
drm/i915/gvt: Make PTE iterator 64K entry aware

64K PTE is special, only PTE#0, PTE#16, PTE#32, ... PTE#496 are used in
the page table.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c