STRUCT KOMEDA_PIPELINE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct komeda_pipeline_state(9) β€” Kernel API Manual πŸŽ€

okay bestie, we're looking at struct komeda_pipeline_state(9) today, from the Kernel API Manual, and honestly? iconic little struct. let's get into it πŸ’…


✨ NAME ✨

struct komeda_pipeline_state β€” literally the pipeline state struct, that's the whole name, no notes πŸ”₯


🌸 SYNOPSIS 🌸

struct komeda_pipeline_state {
    struct drm_private_state obj;
    struct komeda_pipeline *pipe;
    struct drm_crtc *crtc;
    u32 active_comps;
 };

that's the whole vibe right there 🫢


πŸ¦‹ Members πŸ¦‹

  • obj β€” this is the one tracking pipeline_state via drm_atomic_commit. main character energy honestly, it's the thing doing the atomic bookkeeping ✨
  • pipe β€” a backpointer to the pipeline. yeah. it points back. that's the whole job πŸŽ€
  • crtc β€” whichever crtc is currently bound. currently! bound! we love a temporary commitment πŸ’–
  • active_comps β€” a bitmask, specifically BIT(component->id) of active components. bitmask besties rise up 🌈

πŸ’€ NOTE πŸ’€

so here's the tea: unlike the pipeline, pipeline_state does not gather any component_state into it. nope! not even one πŸ™ˆ why? because all the components get managed by drm_atomic_commit, that's why. no cap, that's the entire reason πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h β€” go read it, it's giving source of truth πŸ’œ
  • struct komeda_component(9)
  • struct komeda_component_output(9)
  • struct komeda_component_state(9)
  • struct komeda_pipeline(9)

the whole komeda friend group honestly, go say hi to all of them 🧚


okay that's the page!! this came from ./drivers/gpu/drm/arm/display/..., dated October 2026, and the header up top was struct komed...peline_state(9) β€” yes the manual truncated it like that, no we're not fixing it, it's part of the charm πŸ˜­πŸ’…

slay and stay atomic, bestie ⭐🌸

πŸ“¦ where this page comes from