STRUCT DRM_CLIENT_BUFFER(9)
π 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:
struct drm_client_funcs(9)struct drm_client_dev(9)drm_client_for_each_modeset(9)drm_client_for_each_connector_iter(9)
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
- 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