STRUCT XE_OA_FORMAT(9)
β¨ struct xe_oa_format(9) β¨
okay so bestie, welcome to the kernel API manual for struct xe_oa_format β it's literally the struct that holds the format fields for all the supported OA formats π and before you ask, yes, the OA format properties are specified in PRM/Bspec 52198 and 60942. that's the source of truth, iykyk π
π¦ SYNOPSIS π¦
struct xe_oa_format {
u32 counter_select;
int size;
int type;
enum xe_oa_report_header header;
u16 counter_size;
u16 bc_report;
};
look at her. six fields. main character energy fr fr π
πΈ MEMBERS πΈ
counter_selectβ the counter select value, and if you wanna know what it actually means you gotta go read Bspec 52198/60942 bestie, that's the assignment πsizeβ the record size as written by the HW, and heads up: it's a multiple of 64 byte cachelines. sixty-four. byte. cachelines. not a suggestion, that's just how it is πtypeβ the type, ofenum drm_xe_oa_format_type. it's giving "go look at the enum" energy πheaderβ the 32 or 64 bit report headers. literally just those two options, pick your fighter βcounter_sizeβ the counter size value (see Bspec 60942, love, it's right there π«Ά)bc_reportβ the BC report value (again: Bspec 60942, she's the blueprint π)
π§ SEE ALSO π§
the kernel file lives at ./drivers/gpu/drm/xe/xe_oa_types.h and honestly the whole friend group is linked here, go say hi π
struct xe_oa_unit(9)struct xe_oa_gt(9)struct xe_oa(9)struct xe_oa_buffer(9)struct xe_oa_stream(9)
fr fr read the Bspecs before you touchcounter_selectorcounter_size, no cap β the answers are not vibes-based here π
and that's the whole page, bestie! it's from the kernel file at ./drivers/gpu/drm/xe, dated October 2026, and it's the struct xe_oa_format(9) page β slay, ate, 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