i915_request_is_ready(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i915_request_is_ready(9) πŸ’–

okay so welcome to the Kernel API Manual page for i915_request_is_ready(9), bestie β€” it’s literally giving β€œcheck if the request is ready for execution” energy and we’re obsessed. πŸŽ€


✨ NAME ✨

i915_request_is_ready β€” check if the request is ready for execution. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool i915_request_is_ready (const struct i915_request *rq );

🌸 ARGUMENTS 🌸

  • rq β€” the request. that’s the const struct i915_request * bestie, right there. 🫢

πŸ’œ DESCRIPTION πŸ’œ

okay so upon construction, the request is instructed to wait upon various signals before it is ready to be executed by the HW. like, we do not want to start execution and read data before it is written β€” no cap. in practice, this is controlled with a mixture of interrupts and semaphores. iconic combo, honestly. ✨

once the submit fence is completed, the backend scheduler will place the request into its queue and from there submit it for execution. so we can detect when a request is eligible for execution (and is under control of the scheduler) by querying where it is in any of the scheduler’s lists. literally just vibes-checking the scheduler’s lists. πŸ‘‘

returns true if the request is ready for execution (it may be inflight), false otherwise. very demure, very mindful. 😌


πŸ”₯ SEE ALSO πŸ”₯


πŸ’– cute little sign-off: this page’s source/version is ./drivers/gpu/drm/i915, dated October 2026, and it’s i915_request_is_ready(9) β€” byeee, slay, don’t forget the submit fence 🫢✨

πŸ“¦ where this page comes from