Home
last modified time | relevance | path

Searched refs:intel_gvt_host (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dmpt.h55 if (!intel_gvt_host.mpt->host_init) in intel_gvt_hypervisor_host_init()
58 return intel_gvt_host.mpt->host_init(dev, gvt, ops); in intel_gvt_hypervisor_host_init()
67 if (!intel_gvt_host.mpt->host_exit) in intel_gvt_hypervisor_host_exit()
70 intel_gvt_host.mpt->host_exit(dev); in intel_gvt_hypervisor_host_exit()
83 if (!intel_gvt_host.mpt->attach_vgpu) in intel_gvt_hypervisor_attach_vgpu()
86 return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); in intel_gvt_hypervisor_attach_vgpu()
99 if (!intel_gvt_host.mpt->detach_vgpu) in intel_gvt_hypervisor_detach_vgpu()
102 intel_gvt_host.mpt->detach_vgpu(vgpu); in intel_gvt_hypervisor_detach_vgpu()
136 ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); in intel_gvt_hypervisor_inject_msi()
151 return intel_gvt_host.mpt->from_virt_to_mfn(p); in intel_gvt_hypervisor_virt_to_mfn()
[all …]
Dgvt.c42 struct intel_gvt_host intel_gvt_host; variable
379 intel_gvt_host.dev = &i915->drm.pdev->dev; in intel_gvt_init_device()
380 intel_gvt_host.initialized = true; in intel_gvt_init_device()
414 if (!intel_gvt_host.initialized) in intel_gvt_register_hypervisor()
425 intel_gvt_host.mpt = m; in intel_gvt_register_hypervisor()
426 intel_gvt_host.hypervisor_type = m->type; in intel_gvt_register_hypervisor()
427 gvt = (void *)kdev_to_i915(intel_gvt_host.dev)->gvt; in intel_gvt_register_hypervisor()
429 ret = intel_gvt_hypervisor_host_init(intel_gvt_host.dev, gvt, in intel_gvt_register_hypervisor()
433 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()
438 supported_hypervisors[intel_gvt_host.hypervisor_type]); in intel_gvt_register_hypervisor()
[all …]
Dopregion.c301 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_opregion_base_write_handler()
339 if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_XEN) { in intel_vgpu_clean_opregion()
342 } else if (intel_gvt_host.hypervisor_type == INTEL_GVT_HYPERVISOR_KVM) { in intel_vgpu_clean_opregion()
473 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()
538 switch (intel_gvt_host.hypervisor_type) { in intel_vgpu_emulate_opregion_request()
Dgvt.h55 struct intel_gvt_host { struct
62 extern struct intel_gvt_host intel_gvt_host; argument