STRUCT DRM_TEGRA_GEM_SET_TILING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_tegra_gem_set_tiling(9)

okay bestie, welcome to the Kernel API Manual ✨ you're about to meet struct drm_tegra_gem_set_tiling, and honestly? she's the blueprint for telling the kernel how your GEM object should be laid out in memory. no cap.


πŸŽ€ NAME πŸŽ€

struct drm_tegra_gem_set_tiling β€” the parameters for the set tiling IOCTL. that's it, that's her job. πŸ’–


✨ SYNOPSIS ✨

struct drm_tegra_gem_set_tiling {
    __u32 handle;
    __u32 mode;
    __u32 value;
    __u32 pad;
 };

🌸 Members 🌸

like a group chat, every member matters. let's meet them 🫢

  • handle β€” the handle to the GEM object you're setting the tiling parameters on. she's the one getting a glow-up. πŸ’…
  • mode β€” the tiling mode you wanna set. must be one of these, no improvising bestie:
    • DRM_TEGRA_GEM_TILING_MODE_PITCH β€” pitch linear format πŸ“
    • DRM_TEGRA_GEM_TILING_MODE_TILED β€” 16x16 tiling format πŸ”²
    • DRM_TEGRA_GEM_TILING_MODE_BLOCK β€” 16Bx2 tiling format 🧱
  • value β€” the value you're setting for the tiling mode parameter. the actual number, the main character of the argument. ⭐
  • pad β€” structure padding that may be used in the future. right now it must be 0, so don't be quirky and put anything else there, okay? πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, iykyk πŸ‘‘


🧚 and that's the whole vibe check, bestie β€” tiling params explained, zeros required, options listed, nothing skipped. periodt. πŸ’œ

okay bye, this page came straight out of ./include/uapi/drm and it's dated October 2026 β€” mwah, slay, go set some tiling πŸŒˆπŸ’–

πŸ“¦ where this page comes from