]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Let the caller choose if a shadow page should be put into hash table
authorZhi Wang <zhi.a.wang@intel.com>
Tue, 10 Oct 2017 06:34:11 +0000 (14:34 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:23 +0000 (11:48 +0800)
commit10d3839924f118f1866481dc0cea91d1df2f01ba
tree0d894a790813ebb6d3ab0934c2d80de0350ba112
parent28ebd6c669b8c80d78d2c72a98511df33290baed
drm/i915/gvt: Let the caller choose if a shadow page should be put into hash table

As we want to re-use intel_vgpu_shadow_page in buidling scrach page table
and we don't want to put scrach page table page into hash table, a new
param is introduced to give the caller a choice to decide if a shadow page
should be put into hash table.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/gtt.c
drivers/gpu/drm/i915/gvt/gtt.h