vc4_set_tiling_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a void *, 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 πŸ”₯


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