Skip to content

Commit aa4d01a

Browse files
committed
Merge tag 'gvt-fixes-2022-01-13' of https://github.com/intel/gvt-linux into drm-intel-fixes
gvt-fixes-2022-01-13 - Make DRM_I915_GVT depend on X86 (Siva Mullati) - Clean kernel doc in gtt.c (Randy Dunlap) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> From: Zhi Wang <zhi.wang.linux@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/1f619581-e3da-3899-09ac-f714d954a580@gmail.com
2 parents 754e0b0 + d72d69a commit aa4d01a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎drivers/gpu/drm/i915/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ config DRM_I915_USERPTR
101101
config DRM_I915_GVT
102102
bool "Enable Intel GVT-g graphics virtualization host support"
103103
depends on DRM_I915
104+
depends on X86
104105
depends on 64BIT
105106
default n
106107
help

‎drivers/gpu/drm/i915/gvt/gtt.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
11481148
ops->set_pfn(se, s->shadow_page.mfn);
11491149
}
11501150

1151-
/**
1151+
/*
11521152
* Check if can do 2M page
11531153
* @vgpu: target vgpu
11541154
* @entry: target pfn's gtt entry
@@ -2193,7 +2193,7 @@ static int emulate_ggtt_mmio_read(struct intel_vgpu *vgpu,
21932193
}
21942194

21952195
/**
2196-
* intel_vgpu_emulate_gtt_mmio_read - emulate GTT MMIO register read
2196+
* intel_vgpu_emulate_ggtt_mmio_read - emulate GTT MMIO register read
21972197
* @vgpu: a vGPU
21982198
* @off: register offset
21992199
* @p_data: data will be returned to guest

0 commit comments

Comments
 (0)