drm_print_regset32(9)
hey bestie π welcome to the drm_print_regset32(9) page from the Kernel API Manual β itβs short, itβs useful, and itβs lowkey carrying driver debug on its back π
β¨
πΈ NAME πΈ
drm_print_regset32 β print the contents of registers to a &drm_printer stream. π
β¨ SYNOPSIS β¨
void drm_print_regset32 (struct drm_printer *p , struct debugfs_regset32 *regset );
Thatβs the whole vibe: void, two pointers, no drama. π«Ά
π ARGUMENTS π
pβ thedrm_printerπregsetβ the list of registers to print. π¦
π¦ DESCRIPTION π¦
Ok so picture this: youβre doing driver debug, and it is often useful to be able to either capture the contents of registers in the steady state using debugfs, or at specific points during operation. This lets the driver have a single list of registers for both. Obsessed? Same. π₯
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/drm_print.c β and the besties in crime are drm_puts(9), drm_printf(9), drm_print_bits(9), and drm_print_hex_dump(9). π«Άπ
Cute sign-off from the ./drivers/gpu/drm source/version corner, October 2026 edition β mwah πβ¨
π¦ 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