amdgpu_max_hdmi_pixel_clock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to amdgpu_device πŸ’– that's your device struct, the main character of this whole story. she gets passed in as a const pointer 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