vmw_vkms_mo...lock_relaxed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_vkms_modeset_lock_relaxed β€” like, the whole vibe ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this page is filed under vmw_vkms_mo...lock_relaxed(9) (yeah the name got truncated, the header did that, not me πŸ’€) and it's all about one lil function that guards your crtc while a modeset is happening. she's lowkey the chill younger sibling of vmw_vkms_modeset_lock. let's get into it 🫢


🌸 SYNOPSIS 🌸

bool vmw_vkms_modeset_lock_relaxed (struct drm_crtc *crtc );

that's it. that's the whole signature. she takes one thing and returns a bool, iconic behavior honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • crtc β€” the crtc you wanna lock for vkms. that's the whole assignment. protect the crtc, bestie πŸ’–

✨ DESCRIPTION ✨

so here's the tea β˜• β€” this function is much like vmw_vkms_modeset_lock, with one big main-character difference: if the crtc is currently in a modeset, she will return immediately. like, no waiting, no blocking, no "hold on let me finish." she peeks, sees it's busy, and bounces πŸƒβ€β™€οΈπŸ’¨

the return value is true if it actually locked vkms to modeset, or false otherwise. simple as that. no cap πŸ’―

ngl this is the "relaxed" one for a reason β€” if you were expecting her to wait her turn like the non-relaxed version, she is simply not doing that πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

the whole friend group fr fr 🫢✨


aaaand that's the page!! πŸŽ€ source/version is ./drivers/gpu/drm/vmwgfx and she was dated October 2026 β€” so mark your calendar bestie, this one's from the future πŸ‘‘πŸ’œ mwah, go lock some crtcs responsibly 🌈⭐

πŸ“¦ where this page comes from