dce_v6_0_hpd_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dce_v6_0_hpd_init β€” hpd setup callback ✨

okay so this is a page from the Kernel API Manual, bestie, and it's all about dce_v6_0_hpd_init (yeah the name is a whole mouthful, we love her anyway πŸ’…). buckle up, it's short but it ATE.


🌸 SYNOPSIS 🌸

void dce_v6_0_hpd_init (struct amdgpu_device *adev );

literally that's it. one function, one argument, void return, no notes. clean. iconic. πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • adev β€” an amdgpu_device pointer. that's the whole thing. it's giving "just hand me the device and I'll handle it" main character energy 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what does she DO? dce_v6_0_hpd_init sets up the hpd pins used by the card β€” and yes, that's evergreen+ era, so if you're on newer hardware, iykyk πŸ‘‘

the setup is basically a three-step slay:

  1. enable the pin β€” turn it on, let her live ✨
  2. set the polarity β€” get the direction right, no cap 🧭
  3. enable the hpd interrupts β€” now she can actually tell you things πŸ””

that's the whole vibe. pin on, polarity set, interrupts enabled. periodt. πŸ’€


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/amd/amdgpu/dce_v6_0.c β€” go read the source if you want the full lore πŸ“–

and here's the whole friend group, fr fr, all of them in the same directory:

like, that's a lot of siblings, but every single one of them is listed above, no skips, we don't do that here πŸ’œ


lowkey a flex: dce_v6_0_hpd_init is the one that wakes up the hot plug detect pins so your display actually gets noticed. not me being obsessed with a setup callback 😭

and that's the page!! this beauty lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the page itself is dce_v6_0_hpd_init(9) from the Kernel API Manual β€” go off, kernel docs, you ate πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from