Home
last modified time | relevance | path

Searched refs:vgpu_opregion (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dopregion.c228 vgpu_opregion(vgpu)->va = (void *)__get_free_pages(GFP_KERNEL | in intel_vgpu_init_opregion()
231 if (!vgpu_opregion(vgpu)->va) { in intel_vgpu_init_opregion()
237 buf = (u8 *)vgpu_opregion(vgpu)->va; in intel_vgpu_init_opregion()
275 vgpu_opregion(vgpu)->gfn[i] = (gpa >> PAGE_SHIFT) + i; in intel_vgpu_opregion_base_write_handler()
288 if (!vgpu_opregion(vgpu)->va) in intel_vgpu_clean_opregion()
292 free_pages((unsigned long)vgpu_opregion(vgpu)->va, in intel_vgpu_clean_opregion()
295 vgpu_opregion(vgpu)->va = NULL; in intel_vgpu_clean_opregion()
420 scic_pa = (vgpu_opregion(vgpu)->gfn[0] << PAGE_SHIFT) + in intel_vgpu_emulate_opregion_request()
422 parm_pa = (vgpu_opregion(vgpu)->gfn[0] << PAGE_SHIFT) + in intel_vgpu_emulate_opregion_request()
Dgvt.h125 #define vgpu_opregion(vgpu) (&(vgpu->opregion)) macro
Dkvmgt.c565 base = vgpu_opregion(vgpu)->va; in intel_gvt_set_opregion()