DRM_DEV_ERROR(9)
π DRM_DEV_ERROR π
ok so bestie, welcome to DRM_DEV_ERROR(9) β that's the kernel API manual page, and yes the title is literally just the function name in all caps like it's screaming for attention. iconic of it honestly.
β¨ NAME β¨
DRM_DEV_ERROR β Error output. that's it. that's the whole vibe. it prints errors. slay.
π SYNOPSIS π
DRM_DEV_ERROR (dev , fmt , ... );
ok yes the spacing in there is a little unhinged (the dev , with a space before the comma? whoever wrote that woke up and chose chaos) but we copy it exactly, no cap. π«Ά
πΈ ARGUMENTS πΈ
devβ device pointer. the lil handle to the device you're yelling about πfmtβ aprintflike format string. same energy as regularprintf, so all your%dand%smuscle memory still works β¨...β variable arguments. the "and friends" of the argument list, they get fed into your format string π
π NOTE π
ok so here's the tea and it's a lil sad: this is deprecated in favor of drm_err or dev_err. π
so likeβ¦ it still works, but it's giving "old group chat you don't reply to anymore." if you're writing new code, usedrm_errordev_errinstead. don't be the one still using the deprecated thing, i'm begging π
π¦ SEE ALSO π¦
the whole friend group, in the order the page lists them, and yes we're listing every single one because nobody gets left out π:
./include/drm/drm_print.hβ the kernel file, aka where the actual code lives π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_RATELIMITED(9)β the rate-limited version of this exact thing, so it doesn't spam your dmesg π₯DRM_DEV_DEBUG(9)DRM_DEV_DEBUG_DRIVER(9)DRM_DEV_DEBUG_KMS(9)
ok that's the page!! mwah π this came from ./include/drm, dated October 2026, and the manual-slash-page name on the tin is DRM_DEV_ERROR(9) β go forth and log responsibly, 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