atomctrl_se...ddress_table(9)
π atomctrl_set_mc_reg_address_table β a Kernel API Manual moment
okay so picture this: it's page atomctrl_se...ddress_table(9) from the Kernel API Manual, and it's lowkey serving "one little function that does exactly one little thing." iconic behavior honestly. let's get into it bestie π«Ά
β¨ NAME β¨
atomctrl_set_mc_reg_address_table β get the memory clock AC timing registers index from the VBIOS table, where the VBIOS sets the end of the memory clock AC timing registers by ucPreRegDataLength bit6 = 1 π
like. that's the whole vibe. it reads the index, it knows where the table ends, no cap.
πΈ SYNOPSIS πΈ
int atomctrl_set_mc_reg_address_table (ATOM_INIT_REG_BLOCK *reg_block ,
pp_atomctrl_mc_reg_table *table );
she takes two pointers and returns an int. tiny signature, big main character energy β¨
π ARGUMENTS π
reg_blockβ the address of theATOM_INIT_REG_BLOCKπ§ literally just, here's the block, go offtableβ the address ofMCRegTableπ« the table bestie, the whole point
β RETURN β
0
that's it. that's the return value. she said "zero" and she meant it π not me being obsessed with a function that only ever hands you a 0 β fr fr, that's the documented value, don't come for me π«Ά
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.cβ the actual home turf of this whole situation πatomctrl_get_memory_pll_dividers_si(9)π₯atomctrl_get_memory_pll_dividers_vi(9)π₯atomctrl_get_voltage_evv_on_sclk(9)β‘atomctrl_get_voltage_evv(9)β‘
go read those next, iykyk π
ngl the funniest part is the path itself got the ellipsis treatment in the footer too β ./drivers/gpu/drm/amd/pm/power... β so even the source location is being mysterious π
and that's the page!! mwah π she's from ./drivers/gpu/drm/amd/pm/power... (yes, truncated like that, i don't make the rules), dated October 2026, living under the atomctrl_se...ddress_table(9) header in the Kernel API Manual β slay, periodt, go read your kernel source πππ
π¦ 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