xe_hw_engine_group_get_mode(9)
β¨ xe_hw_engine_group_get_mode β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for xe_hw_engine_group_get_mode(9), and yes the name is a mouthful, iykyk.
π NAME
xe_hw_engine_group_get_mode β get the group to execute in the new mode π
πΈ SYNOPSIS
int xe_hw_engine_group_get_mode (struct xe_hw_engine_group *group , enum
xe_hw_engine_group_execution_mode new_mode , enum
xe_hw_engine_group_execution_mode *previous_mode , struct xe_sync_entry
*syncs , int num_syncs );
no cap, that's the whole signature β copy it exactly, don't be out here renaming things π
π¦ ARGUMENTS
groupβ the hw engine group π like, the actual group we're working withnew_modeβ the new execution mode, literally the vibe we're switching toprevious_modeβ pointer to the previous mode, handed over for the caller to use π«Ά (yes it's a pointer, yes it's pointed at you, caller)syncsβ the syncs from the exec IOCTL β¨num_syncsβ how many syncs came from the exec IOCTL π’
β RETURN
0 if it worked β slay π β or -EINTR if the locking failed π (locking said "not today").
π SEE ALSO
- Kernel file
./drivers/gpu/drm/xe/xe_hw_engine_group.cπ xe_hw_engine_setup_groups(9)xe_hw_engine_group_add_exec_queue(9)xe_hw_engine_group_del_exec_queue(9)xe_hw_engine_group_resume_faulting_lr_jobs(9)xe_hw_engine_group_suspend_faulting_lr_jobs(9)xe_hw_engine_group_wait_for_dma_fence_jobs(9)xe_hw_engine_group_put(9)xe_hw_engine_group_find_exec_mode(9)
go read the whole squad, they're all iconic π
fr fr that's everything β every flag, every arg, every return value, no skips, no cuts π§
and that's the page!! brought to you by the source ./drivers/gpu/drm/xe πΈ, dated October 2026 β, and yes you can cite xe_hw_engine_group_get_mode(9) in your bibliography 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