]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: add gtt_invalidate API to flush the GTT TLB
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Fri, 2 Jun 2017 07:34:24 +0000 (15:34 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:18 +0000 (13:59 +0800)
commitaf2c6399aabeb7a7107657a469cb2f16b55dfbae
tree1d9df06ed59c0bd8c7963381625f37d260b4d189
parent9b7bd65ecdf347b33c37d73b610fd85774b12e87
drm/i915/gvt: add gtt_invalidate API to flush the GTT TLB

add gtt_invalidate API to handle the GTT TLB flush instead of
hiding in write_pte64 function. This can avoid overkill when using
write_pte64

Suggested-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c