amdgpu_max_hdmi_pixel_clock(9)
π amdgpu_max_hdmi_pixel_clock(9) β Kernel API Manual, section 9 π
okay so bestie, welcome to a very specific little corner of the kernel β¨ this one lives in the amdgpu driver and it's basically the function that tells you "hey, how fast can we push pixels over HDMI before things get ugly?" π₯οΈπ¨
β¨ NAME β¨
amdgpu_max_hdmi_pixel_clock β lowkey just returns the max supported HDMI (TMDS) pixel clock π«Ά no cap, that's the whole gig.
πΈ SYNOPSIS πΈ
int amdgpu_max_hdmi_pixel_clock (const struct amdgpu_device *adev );
like, yes, that's literally it. one argument. she's simple. she's iconic. π
π¦ ARGUMENTS π¦
adevβ pointer toamdgpu_deviceπ that's your device struct, the main character of this whole story. she gets passed in as aconstpointer too, so we're reading from her, not messing with her vibe π
π RETURN π
returns the maximum supported HDMI (TMDS) pixel clock in KHz π₯ that's kilohertz, bestie β not megahertz, not "whatever vibes" β KHz, periodt. β
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.cπ β go read the source if you want the full lore, iykyk amdgpu_connector_dvi_mode_valid(9)π β her sibling function, also doing connector validation things, also slaying in her own way
π friendly little reminder: this page is documentation for kernel devs, so don't go passing some random pointer as adev and acting surprised when the kernel has feelings about it π
and that's the tea, bestie π this lil page came out of ./drivers/gpu/drm/amd/amdgpu π dated October 2026, filed under amdgpu_max_hdmi_pixel_clock(9) β go forth and clock those pixels responsibly π§ββοΈβ¨π
π¦ 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