i915_request_is_ready(9)
π 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 theconst 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 π₯
- Kernel file
./drivers/gpu/drm/i915/i915_request.hβ plushwsp_seqno(9),i915_request_started(9), andi915_request_is_running(9). iykyk. π§
π 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
- 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