STRUCT XE_GT_IDLE(9)
π NAME π
struct xe_gt_idle β okay so this is literally the struct that holds all the idle properties, and the whole thing is based off gt. That's it, that's the vibe. It's the little home where idle-related info chills. π¦
β¨ SYNOPSIS β¨
struct xe_gt_idle {
char name[16];
u32 powergate_enable;
u32 residency_multiplier;
u64 cur_residency;
u64 prev_residency;
raw_spinlock_t lock;
enum xe_gt_idle_state (*idle_status)(struct xe_guc_pc *pc);
u64 (*idle_residency)(struct xe_guc_pc *pc);
};
Look at her. Flawless. No notes. π«Ά
π MEMBERS π
nameβ it's the name, bestie. That's the whole description.char name[16]and it just... names. Short king behavior.powergate_enableβ a copy of the powergate enable bits. Copy, not original β she's a dupe and she owns it. πresidency_multiplierβ the residency multiplier, measured inns. Nano-seconds, not vibes.cur_residencyβ the raw driver copy of idle residency. Raw as in unfiltered, not raw as in "no cap".prev_residencyβ the previous residency counter. Yes she keeps receipts of the last one. πlockβ araw_spinlock_tthat protects the idle residency counters. She's the bouncer. Nobody touches the counters without her. π₯idle_statusβ a function pointer that gets the current idle state, typedenum xe_gt_idle_state (*idle_status)(struct xe_guc_pc *pc). It's giving main character energy.idle_residencyβ another function pointer, this one gets the idle residency counter:u64 (*idle_residency)(struct xe_guc_pc *pc). Two function pointers in one struct? We stan a multitalented icon. β¨
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/xe/xe_gt_idle_types.h β go read her, iykyk π
And that's the tea, bestie β this page lives under ./drivers/gpu/drm/xe, stamped October 2026, and it's literally titled struct xe_gt_idle(9). Periodt. πππΈ
π¦ 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