vgpu_pci_cfg_mem_write(9)
π NAME π
okay so bestie, this is vgpu_pci_cfg_mem_write(9) from the Kernel API Manual β the function is vgpu_pci_cfg_mem_write, and its whole thing is write virtual cfg space memory. periodt. π
β¨
πΈ SYNOPSIS πΈ
void vgpu_pci_cfg_mem_write (struct intel_vgpu *vgpu , unsigned int off
, u8 *src , unsigned int bytes );
π ARGUMENTS π
vgpuβ the target vgpu, aka thestruct intel_vgpu *you're working with. πoffβ the offset. πsrcβ the src ptr to write from. πΈbytesβ number of bytes. π’
β¨ DESCRIPTION β¨
Call this function when you need to write virtual cfg space memory. β¨ For standard cfg space, only RW bits can be changed β that's the rule, no cap. It also emulates the RW1C behavior of the PCI_STATUS register, so that part is handled. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/i915/gvt/cfg_space.cβ the source spot for this whole situation. π intel_vgpu_emulate_cfg_read(9)intel_vgpu_emulate_cfg_write(9)intel_vgpu_init_cfg_space(9)intel_vgpu_reset_cfg_space(9)
sign-off: source tree ./drivers/gpu/drm/i915/gvt, manual/version Kernel API Manual, date October 2026, page vgpu_pci_cfg_mem_write(9). Bye bestie, go write that virtual cfg space memory π
β¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms