COMMAND LIST VALIDATOR FOR VC4.(9)
π Command lis...tor for VC4.(9) π
okay bestie, welcome to the Kernel API Manual page for Command lis...tor for VC4.(9) β yes, the title really is truncated like that, and no Iβm not fixing it, itβs iconic. π
π NAME
Command list validator for VC4.
π DESCRIPTION
π¨ security vibe check: since the VC4 has no IOMMU between it and system memory, a user with access to execute command lists could escalate privilege by overwriting system memory (drawing to it as a framebuffer) or reading system memory it shouldn't (reading it as a vertex buffer or index buffer). not cute. π
so we validate binner command lists to make sure every access is within the bounds of the GEM objects referenced by the submitted job. itβs giving very strict chaperone energy. π«Ά
it also explicitly whitelists packets, and it looks at the offsets in any address fields to make sure theyβre contained within the BOs they reference. no sneaky little offset escaping on my watch, periodt. π β¨
also note that because CL validation is already reading the user-submitted CL and writing the validated copy out to the memory that the GPU will actually read, this is also where GEM relocation processing happens β turning BO references into actual addresses for the GPU to use. lowkey multitasking icon behavior. π¦
π SEE ALSO
- Kernel file
./drivers/gpu/drm/vc4/vc4_validate.cβ plussize_is_lt(9)is right there too. π
mwah π before you go: this cutie is filed under ./drivers/gpu/drm/vc4, dated October 2026, and signed Command lis...tor for VC4.(9). byeee π«Άβ¨
π¦ 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