OpenCloudOS-Kernel/drivers/gpu/drm/i915/gvt
Zhenyu Wang 191020b670 drm/i915/gvt: adjust to fixed vGPU types
Previous vGPU type create tried to determine vGPU type name e.g _1, _2
based on the number of mdev devices can be created, but different type
might have very different resource size depending on physical device.
We need to split type name vs. actual mdev resource and create fixed
vGPU type with determined size for consistence.

With this we'd like to fix vGPU types for _1, _2, _4 and _8 now, each
type has fixed defined resource size. Available mdev instances that could
be created is determined by physical resource, and user should query
for that before creating.

Cc: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2017-02-23 17:33:21 +08:00
..
Makefile drm/i915/gvt/kvmgt: add vfio/mdev support to KVMGT 2016-12-16 16:55:26 +08:00
aperture_gm.c drm/i915/gvt: Fix alignment for GTT allocation 2017-02-14 17:03:30 +08:00
cfg_space.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
cmd_parser.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
cmd_parser.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
debug.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
display.c drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
display.h drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
edid.c drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
edid.h drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
execlist.c drm/i915/gvt: fix crash at function release_shadow_wa_ctx 2017-02-10 16:50:18 +08:00
execlist.h drm/i915/gvt: fix crash in vgpu_reset_execlist 2016-11-14 18:06:43 +08:00
firmware.c drm/i915/gvt: set default value to 0 for unhandled mmio regs 2017-02-23 17:32:16 +08:00
gtt.c drm/i915/gvt: remove unnecessary error msg from gtt write 2017-02-23 17:33:20 +08:00
gtt.h drm/i915/gvt: introuduce intel_vgpu_reset_gtt() to reset gtt 2017-01-13 15:05:38 +08:00
gvt.c drm/i915/gvt: enable IOMMU for gvt 2017-02-09 14:17:15 +08:00
gvt.h drm/i915/gvt: adjust to fixed vGPU types 2017-02-23 17:33:21 +08:00
handlers.c drm/i915/gvt: refine pcode write emulation 2017-02-23 17:33:15 +08:00
hypercall.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
interrupt.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
kvmgt.c drm/i915/gvt: return error code if dma map iova failed 2017-02-14 17:35:39 +08:00
mmio.c drm/i915/gvt: decrease priority of output msg for untracked mmio 2017-02-23 17:32:16 +08:00
mmio.h drm/i915/gvt: introduce intel_vgpu_reset_mmio() to reset mmio space 2017-01-13 15:05:38 +08:00
mpt.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
opregion.c drm/i915/gvt: Fix check error on opregion.c 2017-02-17 14:56:36 +08:00
reg.h drm/i915/gvt: cleanup opregion memory allocation code 2017-01-09 11:11:32 +08:00
render.c drm/i915/gvt: add more registers to context save/restore list 2017-02-23 17:32:15 +08:00
render.h drm/i915/gvt: vGPU context switch 2016-10-14 18:15:13 +08:00
sched_policy.c drm/i915/gvt: remove a noisy unimportant log in sched_policy 2017-02-09 14:13:30 +08:00
sched_policy.h drm/i915/gvt: vGPU schedule policy framework 2016-10-14 18:15:02 +08:00
scheduler.c drm/i915/gvt: add a NULL pointer check to avoid kernel panic 2017-02-23 17:32:13 +08:00
scheduler.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
vgpu.c drm/i915/gvt: adjust to fixed vGPU types 2017-02-23 17:33:21 +08:00