STRUCT XE_GUC_PC(9)
β¨ NAME β¨
struct xe_guc_pc β GuC Power Conservation (PC), bestie π
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, literally the entire struct, no cap:
struct xe_guc_pc {
struct xe_bo *bo;
atomic_t flush_freq_limit;
u32 rp0_freq;
u32 rpn_freq;
u32 user_requested_min;
u32 user_requested_max;
u32 stashed_min_freq;
u32 stashed_max_freq;
struct mutex freq_lock;
bool freq_ready;
u32 power_profile;
};
π Members π
this is the part where we meet the whole squad, one member at a time π«Ά
boβ the GGTT buffer object that's shared with GuC PC. it's giving "we literally share this, it's ours" energy πflush_freq_limitβ it's1when max freq changes are limited by the driver. so like,1= the driver's got the freq changes on a leash π¦rp0_freqβ HW RP0 frequency β the Maximum one. the main character of frequencies πrpn_freqβ HW RPN frequency β the Minimum one. the humble icon holding it down at the bottom πΈuser_requested_minβ stashes the minimum requested freq by the user. we remember what you asked for, always πuser_requested_maxβ stashes the maximum requested freq by the user. same deal, we're keeping receipts πstashed_min_freqβ stashes the current minimum freq. it's stashed. it's current. it's minimum πstashed_max_freqβ stashes the current maximum freq. the max one, safely stashed away πfreq_lockβ "Let's protect the frequencies." that's literally the whole description and honestly? iconic. astruct mutexdoing its bodyguard thing π₯freq_readyβ only handle freq changes if they're really ready. no pushing things through before they're ready, we don't do that here β¨power_profileβ Base or power_saving profile. pick your vibe, bestie β
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_guc_pc_types.hβ go read it, iykyk π
okay that's the whole page, you ate that fr fr π this was ./drivers/gpu/drm/xe, October 2026, and it's literally titled struct xe_guc_pc(9) β go off, bestie π§π
π¦ 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