drm_print_hex_dump(9)
β¨ NAME β¨
okay so bestie, meet drm_print_hex_dump from the Kernel API Manual π
β she's here to print a hex dump to a &drm_printer stream. no cap, that's her whole name vibe.
π SYNOPSIS π
void drm_print_hex_dump (struct drm_printer *p , const char *prefix , const u8 *buf , size_t len );
π ARGUMENTS π
pβ Thedrm_printer, obviously. the destination bestie πprefixβ Prefix for each line, and yes, it may beNULLfor no prefix.bufβ Buffer to dump. the actual hex-dump material β¨lenβ Length of buffer. gotta know how much to dump, periodt.
π§ DESCRIPTION π§
So she prints a hex dump to drm_printer, with 16 space-separated hex bytes per line β literally 16, bestie β optionally with a prefix on each line. And the important lil detail: no separator is added after prefix. none. zero. she is not sneaking one in there π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/drm_print.c drm_puts(9)drm_printf(9)drm_print_bits(9)drm_print_regset32(9)
these are her friends, go say hi π«Ά
okay bye bestie β this one lives in ./drivers/gpu/drm, is dated October 2026, and goes by drm_print_hex_dump(9) πβ¨
π¦ 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