STRUCT MSM_VM_MAP_OP(9)
π struct msm_vm_map_op(9) π
okay bestie, welcome to the Kernel API Manual β this page is all about struct msm_vm_map_op, the lil struct for create new pgtable mapping. No cap, itβs giving βone job, but make it carry every detail.β β¨
πΈ NAME πΈ
struct msm_vm_map_opβ create new pgtable mapping
β¨ SYNOPSIS β¨
struct msm_vm_map_op {
uint64_t iova;
uint64_t range;
uint64_t offset;
struct sg_table *sgt;
int prot;
int queue_id;
};
π Members π
okay, letβs do a vibe check on every member β yes, all six, we are not skipping any π
iovaβ start address for mapping. Thatβs the opening act, fr fr.rangeβ size of the region to map. The way it just tells you how much πoffsetβ offset intosgtto map.sgtβ pages to map, orNULLfor a PRR mapping. Iconic.protβ the mapping protection flags.queue_idβ The id of the submitqueue the operation is performed on, or zero for (in particular) UNMAP ops triggered outside of a submitqueue (ie. process cleanup).
π¦ SEE ALSO π¦
if youβre doing a deep dive, bestie, these are the pages and the kernel file to hit next:
- Kernel file
./drivers/gpu/drm/msm/msm_gem_vma.c struct msm_vm_unmap_op(9)struct msm_vm_op(9)struct msm_vm_bind_job(9)msm_gem_vm_unusable(9)msm_gem_vm_create(9)msm_gem_vm_close(9)
π«Ά thatβs the whole page, no notes: source spot is ./drivers/gpu/drm/msm, dated October 2026, and itβs filed under the Kernel API Manual as struct msm_vm_map_op(9). mwah π
π¦ 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