STRUCT KOMEDA_FB(9)
π struct komeda_fb(9) π
okay so this is a page straight out of the Kernel API Manual β the struct komeda_fb one β and bestie, it's honestly such a cute little struct. it's giving "framebuffer but make it komeda." let's get into it π
β¨ NAME β¨
struct komeda_fb β the glow-up of drm_framebuffer, extending it with a komeda attribute. literally the same energy, just with extra sparkle π¦
πΈ SYNOPSIS πΈ
struct komeda_fb {
struct drm_framebuffer base;
const struct komeda_format_caps *format_caps;
bool is_va;
u32 aligned_w;
u32 aligned_h;
u32 afbc_size;
u32 offset_payload;
};
π Members π
bestie these are the fields, and yes every single one of them matters, no cap π
baseβ adrm_framebuffer. that's the whole origin story right there, the main character it's built on top of β¨format_capsβ extendsdrm_format_infowith komeda-specific information. it's not like other format info, it's got lore π§is_vaβ if smmu is enabled, this will betrue. that's the whole condition, fr fr πΈaligned_wβ aligned frame buffer width πaligned_hβ aligned frame buffer height πafbc_sizeβ the minimum size of afbc. minimum, okay, respect the boundary π«Άoffset_payloadβ the start of the afbc body buffer. where the body lives, iconic π
ngl this is a header-file struct, so if you're poking at it, you're probably already deep in komeda land. hi, welcome, you're doing great π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.hβ that's the one, go read it, it's right there β
and that's the whole page, bestie!! π«Ά source for all of this lives at ./drivers/gpu/drm/arm/display/... and it's dated October 2026 β periodt. ππ
π¦ 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