STRUCT XE_HW_ENGINE_SNAPSHOT(9)
π struct xe_hw_engine_snapshot β Hardware engine snapshot π
okay bestie, buckle up β this is the struct xe_hw_engine_snapshot page from the Kernel API Manual, and it's literally the receipt for everything the kernel remembers about a hardware engine β¨
π NAME π
struct xe_hw_engine_snapshot β Hardware engine snapshot. that's it, that's the vibe π«Ά
πΈ SYNOPSIS πΈ
struct xe_hw_engine_snapshot {
char *name;
struct xe_hw_engine *hwe;
u16 logical_instance;
struct {
enum xe_force_wake_domains domain;
int ref;
} forcewake;
u32 mmio_base;
bool kernel_reserved;
};
like, look at her. main character struct energy π
π¦ Members π¦
nameβ the name of the hw engine β¨hweβ the hw engine itself, the whole point πlogical_instanceβ the logical instance of this hw engine, so you know which one you're dealing with πforcewakeβ a Force Wake information snapshot π«Άforcewake.domainβ the force wake domain of this hw engine π₯forcewake.refβ the Forcewake ref for the above domain, keyed to that domain, no cap β
mmio_baseβ the MMIO base address of this hw engine π§kernel_reservedβ engine reserved, can't be used by userspace π (yes it's a realbool, yes it means hands off)
π Description π
okay so the actual tea: this struct contains the snapshot of useful hardware engine info and registers π that's the whole job. it's giving "little frozen polaroid of the engine's state," and honestly? obsessed π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_hw_engine_types.hstruct xe_hw_engine_class_intf(9),struct xe_hw_engine(9)β go read these too bestie, iykyk πΈ
fr fr this one lives in ./drivers/gpu/drm/xe and the page is dated October 2026, under the Kernel API Manual banner β that's the source, the version and the date, all in one cute little sign-off πβ¨π
go slay your xe debugging era, mwah π«Ά
π¦ 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