xe_step_gmdid_get(9)
β¨ xe_step_gmdid_get π
okay so bestie, welcome to the Kernel API Manual page for xe_step_gmdid_get β yes that's a mouthful, no we're not shortening it, it's iconic. this one lives in ./drivers/gpu/drm/xe and it is <highkey>so</highkey> much simpler than it looks, i promise π«Ά
πΈ SYNOPSIS πΈ
void xe_step_gmdid_get (struct xe_device *xe , u32 graphics_gmdid_revid
, u32 media_gmdid_revid , struct xe_step_info *step );
that's it. four args, void return, in and out, done. slay β¨
π ARGUMENTS π
xeβ the Xe device. your main character fr, the thing everything else is about πgraphics_gmdid_revidβ the value of the graphics GMD_ID register'srevidfield. yep, the raw number, straight from the register πmedia_gmdid_revidβ the value of the media GMD_ID register'srevidfield. same vibe, different IP block π¦stepβ a pointer to the structstepthat's gonna get updated. (the original page says "Poninter" and honestly? Poninter is a valid spelling in this house π) she gets written to, she doesn't ask questions π
π DESCRIPTION π
so what does this actually do? it takes those revid fields from the GMD_ID registers, converts them into proper IP steppings, and then updates step->graphics and step->media accordingly. like a glow-up translation layer for register values πβ¨
and here's the part you actually need to remember, bestie β the revid values are currently expected to have consistent meanings on all platforms. so:
- major steppings (
A0,B0, etc.) are4apart π - minor steppings (
A1,A2, etc.) take the values in between those π₯
so like, the numbering literally goes A0 β A1 β A2 β A3 β B0. four slots, one major bump. ate and left no crumbs πΈ
ngl, the word "currently" is doing a lot of work in that sentence β the page is telling you this is the expected convention, so don't go building your whole personality on it if the docs ever move π
π§ SEE ALSO π§
- kernel file
./drivers/gpu/drm/xe/xe_step.cβ the actual source, go read it, i believe in you π xe_step_platform_get(9)π¦xe_step_pre_gmdid_get(9)β
okay that's the whole page, you're officially educated π
this little gem comes to you from the fine people over at ./drivers/gpu/drm/xe, dated October 2026, and it's filed under the Kernel API Manual β go forth and step responsibly, bestie ππβ¨
π¦ 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