xe_hw_engine_group_get_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 with
  • new_mode β€” the new execution mode, literally the vibe we're switching to
  • previous_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

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