dpu_kms_get_clk_rate(9)
π dpu_kms_get_clk_rate(9) π
okay so bestie, welcome to the Kernel API Manual β this one lives in section 9 and it's literally the whole dpu_kms_get_clk_rate situation. buckle up, it's a short one but it slaps π«Ά
β¨ NAME β¨
dpu_kms_get_clk_rate β get the clock rate β¨
like... that's it. that's the whole job. it gets the clock rate. iconic honestly π
πΈ SYNOPSIS πΈ
unsigned long dpu_kms_get_clk_rate (struct dpu_kms *dpu_kms , char
*clock_name );
notice the return type, bestie: unsigned long π no cap, it hands you back an actual number, not a pointer, not a vibe. a number.
π¦ ARGUMENTS π¦
dpu_kmsβ pointer todpu_kmsstructure π this is the main character of the call, the whole struct you're poking at.clock_nameβ clock name to get the rate πΈ yeah you literally just tell it which clock you're being nosy about, by name. string in, curiosity satisfied.
β RETURN β
the current clock rate π₯ that's what you get back. the rate. as it currently is. present tense, bestie, it's giving live data π
π SEE ALSO π
- the Kernel file
./drivers/gpu/drm/msm/disp/dpu1/dpu_kms.cβ go read the source, it's right there, iykyk π dpu_debugfs_create_regset32(9)_dpu_kms_setup_displays(9)
π‘ friendly reminder: these are the related pages, so if you liked this one, the algorithm (well, the manual) says you should check those out too π§
okay that's the whole page, no notes π and for the cute sign-off: this lil doc came from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, and it's the dpu_kms_get_clk_rate(9) page we've been vibing with this whole time. 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