drm_modeset_..._assert_held(9)
β¨ drm_modeset_..._assert_held(9) β¨
okay bestie, so this is a page from the Kernel API Manual, and it's honestly short and sweet β a little baby function that just wants to check something for you π
π NAME π
drm_modeset_lock_assert_held β it's literally equivalent to lockdep_assert_held(). that's the whole vibe. no cap. π«Ά
πΈ SYNOPSIS πΈ
void drm_modeset_lock_assert_held (struct drm_modeset_lock *lock);
like, that's it. one argument, void return, she's lowkey iconic in her simplicity π
π¦ ARGUMENTS π¦
lockβ the lock you want to check. that's the one. the lock in question. give her a vibe check π₯
π SEE ALSO π
okay so here's where the girlies get linked up π:
- Kernel file
./include/drm/drm_modeset_lock.hstruct drm_modeset_acquire_ctx(9)struct drm_modeset_lock(9)drm_modeset_lock_fini(9)drm_modeset_is_locked(9)DRM_MODESET_LOCK_ALL_BEGIN(9)DRM_MODESET_LOCK_ALL_END(9)
go read those too, iykyk πβ¨
ngl the whole extended universe lives in ./include/drm β go explore, it's giving main character energy π
mwah π β brought to you from ./include/drm, dated October 2026, and yes the manual still calls her drm_modeset_..._assert_held(9) because abbreviations are chic πβ¨
π¦ 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