DRM_DEV_DEBUG_KMS(9)
π 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β aprintflike format string. yes, exactly likeprintf, 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:
print(9)enum drm_debug_category(9)struct drm_printer(9)drm_vprintf(9)drm_printf_indent(9)struct drm_print_iterator(9)drm_coredump_printer(9)drm_coredump_printer_is_full(9)drm_seq_file_printer(9)drm_info_printer(9)drm_dbg_printer(9)drm_err_printer(9)drm_line_printer(9)DRM_DEV_ERROR(9)DRM_DEV_ERROR_RATELIMITED(9)DRM_DEV_DEBUG(9)DRM_DEV_DEBUG_DRIVER(9)
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
- 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