aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/gtt.h
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2018-01-30 06:19:50 -0500
committerZhenyu Wang <zhenyuw@linux.intel.com>2018-03-06 00:19:18 -0500
commitd87f5ff35f3fc10a4abe13db6b1af9613f20519d (patch)
treea332e1124eee709876c2a363768378d88700d062 /drivers/gpu/drm/i915/gvt/gtt.h
parent44b467338094d86586d3ec351d8594a6cef0842a (diff)
drm/i915/gvt: Rename shadow_page to short name spt
The target structure of some functions is struct intel_vgpu_ppgtt_spt and their names are xxx_shadow_page. It should be xxx_shadow_page_table. Let's use short name 'spt' instead to reduce the length. As well as the hash table name. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gtt.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/gtt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gtt.h b/drivers/gpu/drm/i915/gvt/gtt.h
index a522bfe490f9..e4ff3f823c7b 100644
--- a/drivers/gpu/drm/i915/gvt/gtt.h
+++ b/drivers/gpu/drm/i915/gvt/gtt.h
@@ -186,7 +186,7 @@ struct intel_vgpu_gtt {
186 struct intel_vgpu_mm *ggtt_mm; 186 struct intel_vgpu_mm *ggtt_mm;
187 unsigned long active_ppgtt_mm_bitmap; 187 unsigned long active_ppgtt_mm_bitmap;
188 struct list_head ppgtt_mm_list_head; 188 struct list_head ppgtt_mm_list_head;
189 DECLARE_HASHTABLE(shadow_page_hash_table, INTEL_GVT_GTT_HASH_BITS); 189 DECLARE_HASHTABLE(spt_hash_table, INTEL_GVT_GTT_HASH_BITS);
190 DECLARE_HASHTABLE(tracked_guest_page_hash_table, INTEL_GVT_GTT_HASH_BITS); 190 DECLARE_HASHTABLE(tracked_guest_page_hash_table, INTEL_GVT_GTT_HASH_BITS);
191 atomic_t n_tracked_guest_page; 191 atomic_t n_tracked_guest_page;
192 struct list_head oos_page_list_head; 192 struct list_head oos_page_list_head;