STRUCT DRM_CLIENT_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_client_buffer(9) β€” DRM client buffer πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ this is the whole vibe for struct drm_client_buffer, and honestly it's a short one, so let's get into it 🫢


🌸 NAME 🌸

struct drm_client_buffer β€” DRM client buffer. yes that's literally it, the name is the summary, she's self-describing, we love a low-effort queen πŸ’…


✨ SYNOPSIS ✨

here's the whole struct, exactly as it is, no cap:

struct drm_client_buffer {
    struct drm_client_dev *client;
    struct drm_gem_object *gem;
    struct iosys_map map;
    struct drm_framebuffer *fb;
 };

πŸ¦‹ Members πŸ¦‹

bestie these are the fields, one by one, pls don't skip 🫢

  • client β€” the DRM client. that's her home base πŸ’œ
  • gem β€” the GEM object backing this buffer. she's the actual storage underneath, the main character energy behind it all ✨
🚨 FIXME: The DRM framebuffer holds a reference on its GEM buffer objects. Do not use this field in new code and update existing users. like, fr fr, do not touch this in new code, ok? and if you find existing users, go update them 😭 this is straight from the manpage, not me being dramatic πŸ’€
  • map β€” virtual address for the buffer. that's your way in 🌈
  • fb β€” DRM framebuffer. iconic, no notes πŸ‘‘

πŸ’€ SEE ALSO πŸ’€

go read these next, iykyk 🌸

Kernel file ./include/drm/drm_client.h and also these:


aaaand that's the page bestie πŸŽ€ this came from the kernel file source ./include/drm, dated October 2026, and it's living in the Kernel API Manual ✨ slay, go forth and buffer responsibly πŸ’…πŸ¦‹

πŸ“¦ where this page comes from