STRUCT DRM_TEGRA_GEM_GET_TILING(9)
π struct drm_tegra_gem_get_tiling(9) π
okay so this is a page from the Kernel API Manual and it's literally the cheat sheet for struct drm_tegra_gem_get_tiling β the little parameter bundle you hand to the get-tiling IOCTL. yes bestie, get. we're asking the kernel questions here, not telling it what to do. π
β¨ NAME β¨
struct drm_tegra_gem_get_tiling β the parameters for the get tiling IOCTL, periodt π
π¦ SYNOPSIS π¦
struct drm_tegra_gem_get_tiling {
__u32 handle;
__u32 mode;
__u32 value;
__u32 pad;
};
(no cap, that's the whole struct β she's compact and she knows it β¨)
πΈ Members πΈ
okay let's meet the cast, one field at a time π«Ά
handleβ handle to the GEM object you're asking about, i.e. the one whose tiling parameters you wanna query. it's giving "who's this about?" energy πmodeβ the tiling mode currently associated with the GEM object. lowkey important: the kernel sets this one for you, upon successful completion of the IOCTL. you don't fill it in, you receive it πvalueβ the tiling mode parameter currently associated with the GEM object. again, set by the kernel upon successful completion of the IOCTL. so you read it, you don't write it, iykyk πpadβ structure padding that may be used in the future. must be 0. fr fr, zero it out, don't get cute with it π
π real talk:modeandvalueare the kernel's little gifts to you after a successful IOCTL, so don't rock up with your own values expecting them to mean anything. they're outputs. andpadstays0. that's the vibe check and you passed π§
π SEE ALSO π
go look at the kernel file ./include/uapi/drm/tegra_drm.h and then go on a whole little reading spree with these icons π:
struct drm_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_set_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)
that's the whole friend group, go say hi to all of them π¦β¨
and that's the page!! came from ./include/uapi/drm, dated October 2026 β mwah, iconic, no notes ππ
π¦ 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