xe_get_pcode_version(9)
π xe_get_pcode_version(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for xe_get_pcode_version. Itβs giving βread pcode version via PMT telemetryβ and honestly thatβs the whole plot. π
β¨ NAME β¨
xe_get_pcode_version β Read pcode version via PMT telemetry. no cap. π«Ά
π¦ SYNOPSIS π¦
int xe_get_pcode_version (struct xe_device *xe , struct xe_pcode_version
*version );
πΈ ARGUMENTS πΈ
xeβ thexeinstance. like, the whole xe situation. πversionβ pointer tostruct xe_pcode_versionto store version info. thatβs where the tea gets saved. π
π DESCRIPTION π
Reads the pcode version from PMT telemetry and fills the provided version structure. literally that. it reads the pcode version from PMT telemetry, then fills up the version struct you handed it. β¨
π RETURN π
0 on success, negative error code on failure. so if it works you get 0; if it flops, itβs a negative error code, not a cute little number. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_pcode.c PCODE(9)xe_pcode_request(9)xe_pcode_init_min_freq_table(9)xe_pcode_ready(9)xe_pcode_init_early(9)xe_pcode_probe_early(9)
xoxo, this page lives under ./drivers/gpu/drm/xe and is dated October 2026 β 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