DRM_TEGRA_SU...ECTOR_LAYOUT(9)
π DRM_TEGRA_SU...ECTOR_LAYOUT(9) π
okay so bestie, welcome to the kernel API manual for DRM_TEGRA_SU...ECTOR_LAYOUT(9) β yes that's the truncated-looking name, no we're not fixing it, it's iconic as-is π
β¨ NAME β¨
DRM_TEGRA_SUBMIT_RELOC_SECTOR_LAYOUT β the flag that picks which sector layout swizzling gets used for in-memory buffers π¦
πΈ SYNOPSIS πΈ
DRM_TEGRA_SUBMIT_RELOC_SECTOR_LAYOUT
that's it. that's the whole thing. no args, no params, just vibes π
π DESCRIPTION π
okay so here's the tea π β when you use this flag, you're saying: set bit 39 of the patched-in address. literally just that bit. and what that does is switch the swizzling between Tegra sector layout and non-Tegra sector layout.
and likeβ¦ when would you even need this? it's for systems that store surfaces in system memory in non-Tegra sector layout. so your memory's laid out one way, and this bit tells the hardware "hey bestie, flip the swizzle" π₯ lowkey elegant ngl.
π SEE ALSO π
like the whole Tegra DRM family iykyk π β first up, the actual kernel file:
./include/uapi/drm/tegra_drm.h
then the struct tour, in order, no gatekeeping:
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_get_tiling(9)struct drm_tegra_gem_set_flags(9)struct drm_tegra_gem_get_flags(9)DRM_TEGRA_SUBMIT_CMD_GATHER_UPTR(9)DRM_TEGRA_SUBMIT_CMD_WAIT_SYNCPT(9)DRM_TEGRA_SUBMIT_CMD_WAIT_SYNCPT_RELATIVE(9)
twenty-one entries, all present and accounted for, we don't skip pages in this household π
okay and that's the whole page, go forth and swizzle responsibly π§ source: ./include/uapi/drm, dated October 2026 β mwah, catch you in the next manpage bestie πβ¨π
π¦ 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