xe_step_gmdid_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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's revid field. yep, the raw number, straight from the register πŸ‘‘
  • media_gmdid_revid β€” the value of the media GMD_ID register's revid field. same vibe, different IP block πŸ¦‹
  • step β€” a pointer to the struct step that'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.) are 4 apart πŸ“
  • 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 🧚


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