vc4_set_tiling_ioctl(9)
π vc4_set_tiling_ioctl(9) β a Kernel API Manual moment
okay so bestie, welcome to vc4_set_tiling_ioctl(9) from the Kernel API Manual. this is the little ioctl that tells a BO what its tiling vibe is. short page, but she's important, fr fr π
β¨ NAME β¨
vc4_set_tiling_ioctl β sets the tiling modifier for a BO. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
int vc4_set_tiling_ioctl (struct drm_device *dev , void *data , struct
drm_file *file_priv );
π¦ ARGUMENTS π¦
devβ the DRM device. the main character of the hardware world πdataβ the ioctl argument. yes it's avoid *, no we don't talk about it πfile_privβ the DRM file for this fd. your personal little backstage pass ποΈ
π DESCRIPTION π
so here's the tea β the tiling state of the BO decides the default modifier of an fb β but ONLY if no specific modifier was set by userspace. like, she's the fallback queen, the understudy who's actually iconic.
she also decides the return value of vc4_get_tiling_ioctl β which is the whole point, honestly. it means userspace can look at a BO it received from dmabuf and treat it as the exact same tiling format the producer used π«Ά no cap, that's the entire reason this exists. symmetry! consistency! we love to see it β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/vc4/vc4_bo.c VC4 GEM BO management support(9)vc4_create_object(9)vc4_get_tiling_ioctl(9)β her sister ioctl, go say hi π
aaaand that's the page π written under ./drivers/gpu/drm/vc4, stamped October 2026, version vibes of vc4_set_tiling_ioctl(9). mwah, stan her, she's doing her best and her best is literally perfect πβ¨
π¦ 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