STRUCT DRM_TEGRA_GEM_SET_TILING(9)
π 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 π
- Kernel file
./include/uapi/drm/tegra_drm.hstructdrm_tegra_gem_create(9) - struct
drm_tegra_gem_mmap(9) - struct
drm_tegra_syncpt_read(9) - struct
drm_tegra_syncpt_incr(9) - struct
drm_tegra_syncpt_wait(9) - struct
drm_tegra_open_channel(9) - struct
drm_tegra_close_channel(9) - struct
drm_tegra_get_syncpt(9) - struct
drm_tegra_get_syncpt_base(9) - struct
drm_tegra_syncpt(9) - struct
drm_tegra_cmdbuf(9) - struct
drm_tegra_reloc(9) - struct
drm_tegra_waitchk(9) - struct
drm_tegra_submit(9) - struct
drm_tegra_gem_get_tiling(9) - struct
drm_tegra_gem_set_flags(9) - struct
drm_tegra_gem_get_flags(9) DRM_TEGRA_SUBMIT_RELOC_SECTOR_LAYOUT(9)DRM_TEGRA_SUBMIT_CMD_GATHER_UPTR(9)DRM_TEGRA_SUBMIT_CMD_WAIT_SYNCPT(9)DRM_TEGRA_SUBMIT_CMD_WAIT_SYNCPT_RELATIVE(9)
π§ 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
- 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