amdgpu_device_ip_late_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_device_ip_late_init β€” the Kernel API Manual glow-up

okay so bestie, welcome to the Kernel API Manual page for amdgpu_device_ip_late_init(9) β€” yes that's the manual name, yes we're being fancy about it, and yes this is the late init pass, so it's giving main character energy arriving fashionably last to the init party πŸŽ€


✨ NAME ✨

amdgpu_device_ip_late_init β€” run late init for hardware IPs πŸ’–


🌸 SYNOPSIS 🌸

int amdgpu_device_ip_late_init (struct amdgpu_device *adev );

that's it. one pointer, one int coming back at you. clean, iconic, no notes ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” amdgpu_device pointer 🫢 literally just the pointer to the amdgpu_device, that's the whole vibe

πŸ’œ DESCRIPTION πŸ’œ

so this is the late initialization pass for the hardware IPs, right? like the afterparty of init 😭

here's the tea: the list of all the hardware IPs that make up the asic gets walked πŸšΆβ€β™€οΈ and the late_init callbacks get run for each one.

and what does late_init actually cover? two things, bestie:

  1. any special initialization that an IP needs after all of the [IPs] have been initialized β€” like it needs the whole squad present before it does its thing πŸ‘‘
  2. or something that just needs to happen late in the init process β€” timing is everything, iykyk ⏰

returns 0 on success ✨ β€” and a negative error code on failure πŸ’€ (so if you see a negative number, that's a no from the GPU, fr fr).


🌈 SEE ALSO 🌈

the source file, first of all, because we respect the source:

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

and now the friends-of-the-page, the whole group chat, every single one, no cap 🧚:

like, that's the whole roster πŸ’… every last one of them, we do not gatekeep the SEE ALSO section on this page, periodt πŸ”₯


πŸ’‘ quick vibe check: late_init = the late pass, after everything's initialized or just late in init. returns 0 when it slays, negative error code when it doesn't. no guessing beyond that, bestie β€” that's what the manpage says πŸ™ˆ

and that's the page!! πŸŽ€ it lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, from the Kernel API Manual, and you can find it filed under amdgpu_device_ip_late_init(9) πŸ¦‹ go forth and init late, you absolute icon β­πŸ’–

πŸ“¦ where this page comes from