dmub_hw_loc...require_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk, this one lives in the Kernel API Manual, section 9, and it's literally just one tiny function that answers one tiny question: does this link need the hardware lock or not? that's it. that's the whole gig. πŸ’…


🌸 NAME 🌸

dmub_hw_lock_mgr_does_link_require_lock β€” returns true if the link has a feature that needs the HW lock 🫢

like, it's giving "am I invited to the lock party" but for display links. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

bool dmub_hw_lock_mgr_does_link_require_lock (const struct dc *dc ,
       const struct dc_link *link );

so you hand it a dc and a link, and it hands you back a bool. iconic behavior fr fr ✨


πŸ’– ARGUMENTS πŸ’–

  • dc β€” pointer to the DC object. yes bestie, the whole display core, the main character πŸ‘‘
  • link β€” the link you wanna check. the one under the microscope πŸ”

πŸ¦‹ RETURN πŸ¦‹

true if the link has a feature that needs the HW lock, false otherwise πŸ’€

that's it. boolean. binary. two moods. no in-between. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

the whole lock-manager friend group honestly 🫢


heads up bestie: all the actual facts up there are load-bearing. the vibe is mine, the behavior is not. don't go inventing semantics, mwah πŸ’‹

and that's the page!! source/version lives at ./drivers/gpu/drm/amd/display/..., dated October 2026, filed under dmub_hw_loc...require_lock(9) β€” stan a tiny kernel helper, periodt πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from