hubbub60_per...ndwidth_mbps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hubbub60_per...ndwidth_mbps(9) β€” like, the whole vibe ✨

okay so bestie, welcome to the Kernel API Manual page for hubbub60_per...ndwidth_mbps(9) 🫢 this one's a little kernel-side baddie from the display driver world and she's here to tell you how much out-of-order bandwidth you're pulling. no cap, she's short but she serves. 🌸


πŸŽ€ NAME πŸŽ€

hubbub60_perfmon_get_out_of_order_bandwidth_mbps β€” read the out-of-order BW counter result πŸ’«

like literally, that's the whole job. she reads the counter and hands you the number. main character energy fr.


✨ SYNOPSIS ✨

uint32_t hubbub60_perfmon_get_out_of_order_bandwidth_mbps (struct hubbub
*hubbub , uint32_t refclk_mhz , uint32_t *duration_ns );

that's the whole signature, copy it exactly okay, don't be out here editing it πŸ™ˆ


🌈 ARGUMENTS 🌈

  • hubbub β€” pointer to the hubbub hardware instance πŸ’– like, the actual hardware bestie, she needs to know which hubbub we're talking to
  • refclk_mhz β€” the reference clock frequency in MHz πŸ•°οΈ it's used for the duration conversion, so it's lowkey doing the math heavy lifting
  • duration_ns β€” output parameter ✨ she receives the measured duration in nanoseconds. so yeah, you pass her in and she comes back with a value, iykyk

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's what's happening: she reads hardware counters 1 (that's the data one πŸ“Š) and 4 (that's the duration one ⏱️), then converts that raw refclk-cycle count into bandwidth in Mbps πŸŽ€

the way that raw cycle count just becomes a bandwidth number is honestly iconic. math ate. periodt. πŸ’…


πŸ”₯ RETURN πŸ”₯

out-of-order bandwidth in Mbps πŸ‘‘ that's it, that's the return value, go off king


🧚 SEE ALSO 🧚

these two are literally her siblings, they come as a set, obsessed 🫢


and that's the page babes πŸ’œ this came out of ./drivers/gpu/drm/amd/display/..., dated October 2026 β€” so like, future slay πŸ•°οΈβœ¨ mwah, go read the source, ily, bye πŸŽ€

πŸ“¦ where this page comes from