dce_v6_0_hpd_init(9)
β¨ 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β anamdgpu_devicepointer. 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:
- enable the pin β turn it on, let her live β¨
- set the polarity β get the direction right, no cap π§
- 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:
dce_v6_0_page_flip(9)dce_v6_0_hpd_sense(9)dce_v6_0_hpd_set_polarity(9)dce_v6_0_hpd_fini(9)si_get_number_of_dram_channels(9)dce_v6_0_dram_bandwidth(9)dce_v6_0_dram_bandwidth_for_display(9)dce_v6_0_data_return_bandwidth(9)dce_v6_0_dmif_request_bandwidth(9)dce_v6_0_available_bandwidth(9)dce_v6_0_average_bandwidth(9)dce_v6_0_latency_watermark(9)dce_v6_0_average_bandwidth_vs_dram_bandwidth_for_display(9)dce_v6_0_average_bandwidth_vs_available_bandwidth(9)dce_v6_0_check_latency_hiding(9)dce_v6_0_program_watermarks(9)dce_v6_0_line_buffer_adjust(9)dce_v6_0_bandwidth_update(9)dce_v6_0_pick_pll(9)
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
- 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