STRUCT DRM_TEGRA_WAITCHK(9)
π struct drm_tegra_waitchk(9) π
okay so bestie, we're in the Kernel API Manual today and the main character is struct drm_tegra_waitchk β literally just a "wait check structure" β¨ ngl it's small but it's doing Important Work.
πΈ NAME πΈ
struct drm_tegra_waitchk β the wait check structure π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, no cap:
struct drm_tegra_waitchk {
__u32 handle;
__u32 offset;
__u32 syncpt;
__u32 thresh;
};
four __u32s and she's ready to go π
π Members π
okay so let's meet the squad, one member at a time π
handleβ this is the handle to the GEM object containing a command stream, aka the spot where you're gonna perform the wait check π¦offsetβ the offset, in bytes, of the location in the command stream where you perform the wait check on. yes, bytes. the unit matters bestie πsyncptβ the ID of the syncpoint to wait check βthreshβ the threshold value that you're checking against πΈ
that's it. that's the whole struct. she's compact and she knows it π
π SEE ALSO π
go look at the kernel file ./include/uapi/drm/tegra_drm.h for the source of truth π, and then honestly just go meet the whole extended family, they're all linked:
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_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_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)
like, the whole group chat, fr fr π«Ά
aaand that's the page!! πβ¨ this one lives at ./include/uapi/drm, dated October 2026, and it's filed under struct drm_tegra_waitchk(9) β slay, go forth and wait check responsibly π§π
π¦ 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