STRUCT XE_HWMON_FAN_INFO(9)
π struct xe_hwmon_fan_info(9) π
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is struct xe_hwmon_fan_info(9) β the tiniest little glow-up struct whose whole entire job is remembering what your fan said last time. no cap, that's it, that's the vibe π«Ά
π NAME π
struct xe_hwmon_fan_info β literally just here to cache previous fan reading π like it's holding your fan's last text message so it can compare notes later, iconic behavior fr fr
β¨ SYNOPSIS β¨
struct xe_hwmon_fan_info {
u32 reg_val_prev;
u64 time_prev;
};
that's the whole struct, she's small but she's doing her best π two members, zero drama:
πΈ Members πΈ
reg_val_prevβ the previous fan reg val π aka the fan register value from last time, saved for the plottime_prevβ the previous timestamp β° so we know when that last reading happened, iykyk
π¦ SEE ALSO π¦
the girls that get referenced together, slay together π all of these live in the kernel file ./drivers/gpu/drm/xe/xe_hwmon.c:
struct xe_hwmon_energy_info(9)struct xe_hwmon_thermal_info(9)struct xe_hwmon(9)
go read those too, they're the extended universe π
lowkey a reminder that this is under ./drivers/gpu/drm/xe β that's the directory, don't lose her π
and that's the whole page bestie, no crumbs left π mwah π β with love from the Kernel API Manual, filed under ./drivers/gpu/drm/xe, dated October 2026, page struct xe_hwmon_fan_info(9) π§ββοΈπβ¨
π¦ 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