smuio_v13_0_get_die_id(9)
π NAME π
smuio_v13_0_get_die_id β okay so this is the little function that goes and queries the die id from the FCH. That's it. That's the whole job. β¨
(also hi, this page lives in the Kernel API Manual, section 9 β kernel internals only, bestie π«Ά)
πΈ SYNOPSIS πΈ
u32 smuio_v13_0_get_die_id (struct amdgpu_device *adev);
It hands you back a u32. That's a return type, not a vibe. π
π ARGUMENTS π
adevβ the amdgpu device pointer. Like, the actual GPU you're asking about. You don't get to skip this one, it's the only thing it wants from you π
π¦ DESCRIPTION π¦
Returns die id. π―
That's literally the whole description, no cap β you hand it the device, it returns the die id. Short and iconic, main character energy, doesn't overexplain itself. β¨
Heads up: the synopsis says the return type is u32, so that's the thing coming back at you. No surprises here, no hidden behaviour described, periodt.
π SEE ALSO π
- The kernel file this lives in:
./drivers/gpu/drm/amd/amdgpu/smuio_v13_0.cβ go read the source, iykyk π smuio_v13_0_get_socket_id(9)β its sibling, socket edition π§smuio_v13_0_is_host_gpu_xgmi_supported(9)β the "is this host GPU xgmi supported" check π
And that's the whole page, bestie π this iconic lil doc came out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β yes, the future, don't think about it too hard ππ slay, go query some die ids β¨
π¦ 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