STRUCT KOBJ_GT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct kobj_gt(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” literally the place where all the kernel lore lives, and today's main character is struct kobj_gt. no cap, she's small but she's important 🫢


🌸 NAME 🌸

struct kobj_gt β€” a GT's kobject struct that connects the kobject and the GT πŸ’–

like… she's the bridge. the matchmaker. the group chat admin that makes sure the right people are talking to each other πŸŽ€


✨ SYNOPSIS ✨

struct kobj_gt {
    struct kobject base;
    struct xe_gt *gt;
 };

that's her. that's the whole struct. iconic, honestly πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • base β€” the actual kobject πŸ’… like the real, official kobject doing kobject things.
  • gt β€” a pointer to the GT itself 🎯 the whole reason we're here.

🌈 Description 🌈

so when you're dealing with multiple GTs (yes, plural, we're fancy like that ✨), this struct helps to understand which GT needs to be addressed on a given sysfs call πŸ’–

ngl, it's giving "which one of y'all is this message for" energy and honestly? we stan a struct that knows its purpose 🫢


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/xe/xe_gt_sysfs_types.h β€” go read her, iykyk πŸ“–πŸ’œ

fr fr bestie, that's the whole page β€” no invented lore, no extra side quests, just the vibes and the facts πŸ’€βœ¨

and that's a wrap, babe πŸŽ€ this little beauty comes to you from ./drivers/gpu/drm/xe and the manual says October 2026 β€” literally from the future, main character energy only πŸ’…πŸ‘‘ see you in the next sysfs call!! πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from