xe_guc_pc_c_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_guc_pc_c_status(9) πŸ’–

okay so this is a page from the Kernel API Manual β€” yes, the kernel has a manual, and yes, it's serving. we're talking about xe_guc_pc_c_status today, and honestly? it's giving "one job, does it well." 🫢


✨ NAME ✨

xe_guc_pc_c_status β€” get the current GT C state 🌸

like, literally what it says on the tin. you wanna know what C state the GT is chilling in? bestie, this is your function. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

enum xe_gt_idle_state xe_guc_pc_c_status (struct xe_guc_pc *pc );

look at that. clean. iconic. it takes one (1) pointer and hands you back an enum xe_gt_idle_state. that's the whole vibe. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pc β€” your XE_GuC_PC instance πŸ’œ that's it, that's the only thing you gotta hand over. one argument, zero drama, main character energy fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

okay so there is a whole friend group here and honestly they all ate. the source of truth for all of this lives in the kernel file ./drivers/gpu/drm/xe/xe_guc_pc.c β€” go read it, it's worth it, iykyk πŸ“–βœ¨

first up, the big one: GuC Power Conservation (PC)(9) β€” the parent friend, the one who organises the group chat.

and then the rest of the squad, alphabetically-ish, all in the same family:

that's the whole roster. getters, setters, residency checks, init, fini, start, stop, print β€” the full lifecycle plus the freq lore. obsessed. πŸ”₯


lowkey reminder bestie: this page only covers xe_guc_pc_c_status. everything about the other functions lives on their own pages, so don't come for me if you need details on the freq stuff β€” go read xe_guc_pc_get_cur_freq(9) like a good little kernel gremlin 🧚

πŸ’– and that's the page!! short, sweet, and to the point β€” just like this function. written from the kernel file at ./drivers/gpu/drm/xe, dated October 2026, and yeah β€” that's the source and the version, so now you know where to look if anything has changed since. mwah. πŸŽ€βœ¨πŸ¦‹β­

πŸ“¦ where this page comes from