STRUCT XE_FORCE_WAKE_DOMAIN(9)
π struct xe_force_wake_domain π
okay bestie, welcome to the Kernel API Manual page for struct xe_force_wake_domain β itβs giving βtiny struct, very important power-domain businessβ energy. β¨
πΈ NAME πΈ
struct xe_force_wake_domain β Xe force wake power domain. Thatβs the whole vibe. π
π SYNOPSIS π
struct xe_force_wake_domain {
enum xe_force_wake_domain_id id;
struct xe_reg reg_ctl;
struct xe_reg reg_ack;
u32 val;
u32 mask;
u32 ref;
};
π Members π
idβ domain force wake id. πͺͺreg_ctlβ domain wake control register address. ποΈreg_ackβ domain ack register address. βvalβ domain wake write value. βοΈmaskβ domain mask. πrefβ domain reference. π’
π₯ Description π₯
So this struct represents an individual device-internal power domain. The driver must make sure the power domain is awake before accessing registers or any other hardware functionality thatβs part of that power domain. No cap, that part is serious. π«Ά
Since different driver threads may access hardware units simultaneously, a reference count is used to ensure the domain stays awake for as long as any software is using the part of the hardware covered by the power domain. bestie, itβs literally keeping the lights on while somebodyβs still in the room. π‘
Hardware provides a register interface that lets the driver request wake/sleep of power domains. But in most cases, the actual action of powering the hardware up/down is handled by firmware β and it may be subject to requirements and constraints outside the driverβs visibility. So the driver needs to wait for an acknowledgment that a wake request has been acted upon before accessing the parts of the hardware that reside within the power domain. periodt. β
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/xe/xe_force_wake_types.h, plus struct xe_force_wake(9) β go peek, iykyk. π
mwah π β this cutie lives under source/version ./drivers/gpu/drm/xe, dated October 2026, and itβs the struct xe_force_wake_domain(9) page. byeee π«Ά
π¦ 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