amdgpu_gmc_tmz_set(9)
β¨ amdgpu_gmc_tmz_set(9) β¨
okay so this is a page straight out of the Kernel API Manual, bestie β it's amdgpu_gmc_tmz_set(9) and it's lowkey iconic for being so short. like, the whole function is basically a vibe check with a void return. we love a no-drama king π
π NAME π
amdgpu_gmc_tmz_set β check and set if a device supports TMZ π
yes that's literally it. "check and set", two jobs, one function, main character energy fr fr.
π¦ SYNOPSIS π¦
void amdgpu_gmc_tmz_set (struct amdgpu_device *adev );
not me showing you the exact signature, character for character, because we do NOT paraphrase code in this house π the void up front means nothing comes back out β it's giving "I do the work and I don't need applause" β¨
πΈ ARGUMENTS πΈ
adevβ anamdgpu_devicepointer π«Ά that's the one and only thing you hand it. the whole device, babe. it needs the device so it has something to check and set the TMZ situation on π
β DESCRIPTION β
so what it does: it checks and sets if the device adev supports Trusted Memory Zones (TMZ) π₯ that's the sentence. that's the whole description. no cap.
(note the original says "if an the device" β iconic typo, but the meaning is clear: this function figures out, for the device adev, whether Trusted Memory Zones are a thing, and sets that accordingly β¨ Trusted Memory Zones, capital letters, so you know it's serious π
)
ngl this is the kind of function that does one thing and then minds its own business. respect π
π SEE ALSO π
the lore lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c π β that's where you go if you want the whole story.
and here's the full friend group, everyone gets a shoutout, no one left behind π«Ά:
amdgpu_gmc_pdb0_alloc(9)amdgpu_gmc_get_pde_for_bo(9)amdgpu_gmc_set_pte_pde(9)amdgpu_gmc_agp_addr(9)amdgpu_gmc_vram_location(9)amdgpu_gmc_gart_location(9)amdgpu_gmc_agp_location(9)amdgpu_gmc_set_agp_default(9)amdgpu_gmc_fault_key(9)amdgpu_gmc_filter_faults(9)amdgpu_gmc_filter_faults_remove(9)amdgpu_gmc_noretry_set(9)amdgpu_gmc_init_pdb0(9)amdgpu_gmc_vram_mc2pa(9)amdgpu_gmc_vram_pa(9)
the way that's fifteen whole functions and every single one of them ended up on this list β ate, truly ππ
that's the whole page, bestie, go read the source file if you want more π¦
mwah π this has been amdgpu_gmc_tmz_set(9) from the ./drivers/gpu/drm/amd/amdgpu crew, dated October 2026 β stay trusted, stay zoned, periodt π
π¦ 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