drm/i915/gvt: Refine ggtt and ppgtt root entry ops
authorChangbin Du <changbin.du@intel.com>
Tue, 30 Jan 2018 11:19:42 +0000 (19:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 6 Mar 2018 05:19:14 +0000 (13:19 +0800)
commit3aff35128025baa58c0676e501eb4597687ca80f
tree8864d8a919871249288f6cd091752bbf0e7b6d9f
parent1bc258519dc72070f21291cdd37aeaa192082abd
drm/i915/gvt: Refine ggtt and ppgtt root entry ops

Separate ggtt and ppgtt since they are different. A little more code but
straightforward.

And move these helpers to gtt.c since that is the only client.

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
drivers/gpu/drm/i915/gvt/gtt.h