amdgpu_dm_hpd_init(9)
β¨ amdgpu_dm_hpd_init(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this page is literally all about amdgpu_dm_hpd_init, and yes it's a kernel thing, but like... it's the fun kernel thing (hotplug detection, iykyk π¦). Buckle up, it's short and it slays.
πΈ NAME πΈ
amdgpu_dm_hpd_init β the hpd setup callback. that's it. that's the vibe check π
β¨ SYNOPSIS β¨
void amdgpu_dm_hpd_init (struct amdgpu_device *adev );
no cap, that's the whole signature π
π ARGUMENTS π
adevβ anamdgpu_devicepointer. that's the main character right there π«Ά
π₯ DESCRIPTION π₯
so what does this beauty actually do? it sets up the hpd pins that the card uses β and yes, we're talking evergreen+, so your fave old-ish hardware is included too, iconic β¨
the three little jobs it does:
- enable the pin π
- set the polarity π
- enable the hpd interrupts π
that's the whole arc. setup, polarity, interrupts, done. periodt π
π¦ SEE ALSO π¦
kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c β go read it, it's giving lore π
and the whole friend group of related pages (ngl they all showed up together and it's a lot of besties):
overview(9)struct amdgpu_dm_irq_handler_data(9)dm_irq_work_func(9)amdgpu_dm_irq_register_interrupt(9)amdgpu_dm_irq_unregister_interrupt(9)amdgpu_dm_irq_init(9)amdgpu_dm_irq_fini(9)amdgpu_dm_irq_handler(9)amdgpu_dm_hpd_fini(9)amdgpu_dm_hdmi_hpd_debounce_work(9)dmub_hpd_callback(9)dmub_hpd_sense_callback(9)dm_pflip_high_irq(9)dm_crtc_high_irq_handler(9)dm_crtc_high_irq(9)dm_dcn_vertical_interrupt0_high_irq(9)dm_dmub_outbox1_low_irq(9)
anyway bestie, that's the page π it came from the source path ./drivers/gpu/drm/amd/display/..., it's dated October 2026, and it answers to the name amdgpu_dm_hpd_init(9) β go set up some hotplug pins, you've got this, mwah ππ
π¦ 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