]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita00f10d06e3aac5111bafc387dec0050aba07161
tree8864d8a919871249288f6cd091752bbf0e7b6d9f
parent89c6929ead4c8090b45e25a22bac7e4e21058c6f
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