STRUCT GUC_LIC(9)
π NAME π
struct guc_lic β the GuC LIC (Log-Init-Config) structure, bestie. That's it, that's the vibe β¨
π SYNOPSIS π
struct guc_lic {
u32 magic;
#define GUC_LIC_MAGIC 0x8086900D;
u32 version;
#define GUC_LIC_VERSION_MASK_MAJOR GENMASK(31, 16);
#define GUC_LIC_VERSION_MASK_MINOR GENMASK(15, 0);
#define GUC_LIC_VERSION_MAJOR 1u;
#define GUC_LIC_VERSION_MINOR 0u;
u32 data_count;
u32 data[];
};
Like, copy it exactly, don't freestyle it, i'm literally begging π
π«Ά Members π«Ά
magicβ a magic number that GuC sets so you know this structure is holding valid info, no cap. It'smagic = GUC_LIC_MAGIC. π₯versionβ the version of this structure, and the major + minor numbers live as bit fields inside it. Cute little packing moment πdata_countβ how many dwords thedataarray contains. Count 'em.dataβ an array of dwords representing a list of LIC KLVs of typeguc_klv_generic, with keys represented byguc_lic_type. Iconic little key-value moment π
πΈ Description πΈ
So the GUC populates this at log init time, and it's located in the log buffer memory allocation. That's the whole tea β β it's GuC's little note-to-self, sitting right there in the allocation. π¦
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/xe/abi/guc_lic_abi.h enum guc_lic_type(9)
okay that's the whole page, you ate that π ngl this one came from ./drivers/gpu/drm/xe/abi and it's dated October 2026 β era-defining fr fr, 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