drm/i915/gvt: Refine pte shadowing process
authorChangbin Du <changbin.du@intel.com>
Tue, 30 Jan 2018 11:19:48 +0000 (19:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 6 Mar 2018 05:19:17 +0000 (13:19 +0800)
commit72f03d7ea16794c3ac4b7ae945510cf0015d3c3c
treee0dde2f0f99db250fb07d5e45eeeb300c70028d6
parentd861ca237df8f1ef7b6380cd61f403edfcfc2be1
drm/i915/gvt: Refine pte shadowing process

Make the shadow PTE population code clear. Later we will add huge gtt
support based on this.

v2:
  - rebase to latest code.

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