STRUCT VID_DATA(9)
π struct vid_data(9) β the voltage data glow-up
okay bestie, so the page header says struct vid_data(9) and the manual name is Kernel API Manual β yes, the kernel API manual, we're in the big leagues now β¨
πΈ NAME πΈ
struct vid_data β literally stores voltage information data, that's the whole vibe π
π¦ SYNOPSIS π¦
struct vid_data {
int min;
int max;
int turbo;
int32_t ratio;
};
no cap, that's the whole struct β four juicy little fields, icon energy π
β¨ Members β¨
minβ the VID data for this platform that corresponds to the lowest P state πmaxβ the VID data that corresponds to the highest P State πturboβ the VID data for the turbo P state π₯ratioβ the ratio of(vid max - vid min) / (max P state - Min P State), math queen behavior π§
π Description π
so what is this even for? struct vid_data stores the voltage data for DVFS (Dynamic Voltage and Frequency Scaling) β yes, say it with your chest, DVFS π
this data gets used in Atom platforms, where β on top of the target P state β the voltage data also needs to be specified so the next P State can be selected. it's giving "extra step but make it necessary" π
fr fr, that's not me adding lore, that's just what the page says β the voltage data is a required part of picking the next P State on those platforms π«Ά
π SEE ALSO π
- Kernel file
./drivers/cpufreq/intel_pstate.cβ go read the source, iykyk π struct sample(9)struct pstate_data(9)struct global_params(9)struct cpudata(9)struct pstate_funcs(9)
like, the whole intel_pstate.c friend group, honestly π
and that's the page, bestie β slay, you now understand struct vid_data π
this one lives under ./drivers/cpufreq and the page is dated October 2026, so likeβ¦ bookmark it, timestamp it, screenshot it, whatever you gotta do βπ
π¦ 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