STRUCT XE_GPU_SCHEDULER(9)
π struct xe_gpu_scheduler β Xe GPU scheduler π
okay so this page lives in the Kernel API Manual, and it's literally all about struct xe_gpu_scheduler, aka the Xe GPU scheduler β the main character of GPU scheduling, no cap β¨
πΈ NAME πΈ
struct xe_gpu_scheduler β Xe GPU scheduler π«Ά
β¨ SYNOPSIS β¨
like, here's the whole vibe, character for character:
struct xe_gpu_scheduler {
struct drm_gpu_scheduler base;
const struct xe_sched_backend_ops *ops;
struct list_head msgs;
spinlock_t msg_lock;
struct work_struct work_process_msg;
};
π Members π
okay bestie, let's meet the cast, one member at a time π
baseβ the DRM GPU scheduler. this is the foundation it sits on, the blueprint, the whole reason it's iconic πopsβ the Xe scheduler ops (const struct xe_sched_backend_ops *). the plug-in-your-own-behaviour slot, iykyk π₯msgsβ the list of messages to be processed inwork_process_msg. a whole queue of little notes waiting their turn πmsg_lockβ the message lock. keeps everything from getting messy when the messages are moving around πwork_process_msgβ processes messages. that's it, that's the job, and it does it slayfully β¨
π¦ SEE ALSO π¦
go read these next, fr fr:
- Kernel file
./drivers/gpu/drm/xe/xe_gpu_scheduler_types.hβ structxe_sched_msg(9) struct xe_sched_backend_ops(9)
ngl, if you're poking at scheduler messages, mind that msg_lock β it's there for a reason, bestie π
and that's the whole page, periodt π big sign-off energy: this one's from ./drivers/gpu/drm/xe, dated October 2026, and the page itself is struct xe_gpu_scheduler(9) β screenshot it, memorise it, live it πβπ
π¦ 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