DRM_DEV_DEBUG_KMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… DRM_DEV_DEBUG_KMS πŸ’…

okay bestie so listen β€” this is a page straight outta the Kernel API Manual, and it's all about DRM_DEV_DEBUG_KMS, which is literally the debug output hook for the modesetting code. yes, the DRM one. the pretty-graphics one. that one πŸŽ€


✨ NAME ✨

DRM_DEV_DEBUG_KMS β€” debug output for modesetting code πŸ¦‹

🌸 SYNOPSIS 🌸

DRM_DEV_DEBUG_KMS (dev , fmt , ... );

like... that's the whole vibe. args in, debug out. periodt πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device pointer. you know, the thing that tells everyone which device we're out here debug-logging about 🫢
  • fmt β€” a printf like format string. yes, exactly like printf, she's not reinventing anything, she's just printing 🌈
  • ... β€” the variable arguments. all the little extras that get shoved into that format string ✨

πŸ‘‘ NOTE πŸ‘‘

okay so real talk β€” this one is deprecated 😭 it's been replaced by drm_dbg_kms. so like, it still exists and all, but the cool kids moved on. use the new one, iykyk πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read these next, fr fr β€” they're all in ./include/drm/drm_print.h and they're giving main character energy:


aaaand that's the whole page, no gatekeeping πŸ’– she lives over in ./include/drm, she's stamped October 2026, and she's brought to you by the Kernel API Manual β€” mwah, slay, go read the printer section next bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from