amdgpu_lockdep_set_class(9)
π amdgpu_lockdep_set_class(9) β like, the Kernel API Manual page, bestie π
okay so this is a page from the Kernel API Manual, section 9, and it's all about amdgpu_lockdep_set_class β the little function that pairs up your lock class keys with your actual real-life locks. matchmaking, but for locks. we love to see it π
β¨ NAME β¨
amdgpu_lockdep_set_class β associate lock class keys with real locks π
no cap, that's the whole vibe: keys β‘οΈ locks, classy little commitment ceremony.
πΈ SYNOPSIS πΈ
void amdgpu_lockdep_set_class (struct amdgpu_device *adev );
that's it. one function, one pointer, zero drama. she's void, she returns nothing, she simply is π
π¦ ARGUMENTS π¦
adevβ the AMDGPU device π₯οΈβ¨ (your main character, fr)
π DESCRIPTION π
Call this during device init to associate lock classes with actual locks π
like literally, that's the job. you call it while the device is initializing, and it hooks your lock class keys up to the real locks. iykyk. do it at init time, not whenever you feel like it, bestie π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_lockdep.hπ β go read the header, she's iconic amdgpu_lockdep_init(9)π β the init sibling, obviously
ngl the whole gang lives in ./drivers/gpu/drm/amd/amdgpu and this page is dated October 2026, so likeβ¦ mark your calendar ποΈπ
okay that's the page!! go forth and associate your lock classes correctly, mwah π«Άπ β signed, your fave manual, straight outta the ./drivers/gpu/drm/amd/amdgpu source tree, October 2026 edition βπ§ββοΈ
π¦ 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