drm_timeout_abs_to_jiffies(9)
π drm_timeout_abs_to_jiffies β a little kernel helper, brought to you by the Kernel API Manual β¨
Okay bestie, buckle up, because this one is short and sweet and lowkey iconic. The function is drm_timeout_abs_to_jiffies, and its whole personality is: calculate jiffies timeout from absolute value. That's it. That's the name. It literally tells you what it does, we love a self-aware king π
πΈ NAME πΈ
drm_timeout_abs_to_jiffies β calculate jiffies timeout from absolute value π
β¨ SYNOPSIS β¨
signed long drm_timeout_abs_to_jiffies (int64_t timeout_nsec );
Yep, that's the whole signature. One argument, one return, no drama π¦
π«Ά ARGUMENTS π«Ά
timeout_nsecβ the timeout nsec component, in ns. And bestie, listen: pass0for poll π that's the move. Zero means poll, no cap.
π DESCRIPTION π
So what does it actually do? It calculates the timeout in jiffies from an absolute time in sec/nsec π
That's the entire description, and honestly? It ate. Brief, clear, no filler. The way it takes an absolute time and hands you back jiffies. Main character conversion energy fr fr π₯
π SEE ALSO π
Like any good bestie, this function comes with a whole friend group. Go say hi π
- Kernel file
./drivers/gpu/drm/drm_syncobj.cOverview(9) drm_syncobj_find(9)drm_syncobj_add_point(9)drm_syncobj_replace_fence(9)drm_syncobj_assign_null_handle(9)drm_syncobj_find_fence(9)drm_syncobj_free(9)drm_syncobj_create(9)drm_syncobj_get_handle(9)drm_syncobj_get_fd(9)drm_syncobj_open(9)drm_syncobj_release(9)
Heads up bestie:timeout_nsecis the nsec component of an absolute time β and0means poll. Don't forget the zero case, iykyk π
And that's the whole page, babes π
π This little drop of kernel wisdom lives in ./drivers/gpu/drm, dated October 2026, straight from the Kernel API Manual β periodt. Go forth and convert your absolute times to jiffies, you absolute icon ππ
π¦ 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