hwsp_seqno(9)
π hwsp_seqno(9) β the kernel API manual, but make it make sense
okay bestie, so this is hwsp_seqno(9) from the Kernel API Manual, and honestly? It's giving "tiny function, big lore" β¨ Let's get into it.
π NAME π
hwsp_seqno β literally just the current breadcrumb value in the HW status page. that's it. that's the whole vibe π
β¨ SYNOPSIS β¨
u32 hwsp_seqno (const struct i915_request *rq );
she's small, she's u32, she takes one const struct i915_request * and she's out. main character energy honestly π
π«Ά ARGUMENTS π«Ά
rqβ the request, and you're gonna chase it to find the relevant HW status page. yes, chase. it's a whole quest bestie, but the reward is a breadcrumb so likeβ¦ worth it π
πΈ DESCRIPTION πΈ
okay so the emphasis in the naming here is everything, so pay attention: hwsp_seqno is NOT a property of the request. nope. it's an indication of the current HW state, associated with this request. so its value is gonna change as the GPU executes more requests β it's alive, it's moving, it's lowkey not stable π don't be weird about that.
What she returns: the current breadcrumb value in the associated HW status page (or the local timeline's equivalent, for when your fave isn't available, we don't judge) for this request π¦
So here's the tea β the request itself has the associated breadcrumb value of rq->fence.seqno. And when the HW status page has that breadcrumb or later? boom. this request is complete. slay. periodt. β
ngl, the top-level takeaway is: this isn't "what is the request" it's "where is the hardware right now", and comparing those two is the whole entire bit π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/i915_request.h i915_request_started(9)i915_request_is_running(9)i915_request_is_ready(9)
π the cute sign-off π
this absolute icon of a page lives in ./drivers/gpu/drm/i915, and it's dated October 2026 β yes, she's from the future, we don't ask questions π iykyk. bye bestie, go check your breadcrumbs π§π
π¦ 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