STRUCT DC_STATE_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dc_state_status(9) πŸ’…

ok so this is a page from the Kernel API Manual β€” yes bestie, the kernel, we're literally in the driver guts rn and it's giving main character energy 🫢


✨ NAME ✨

struct dc_state_status β€” the output-only status object you get back from dc_state_get_status. it's read-only, it's just telling you things, it's not here to change anything, periodt πŸ’…


🌸 SYNOPSIS 🌸

struct dc_state_status {
    int stream_count;
    struct dc_stream_status *stream_status[MAX_STREAMS];
    int probe_count;
    struct dc_probe_status *probe_status[MAX_PROBES];
 };

πŸŽ€ Members πŸŽ€

  • stream_count β€” how many entries in stream_status are actually valid, k? it's the count for DC_GET_STATUS_STREAM and nothing else, no cap πŸ“
  • stream_status β€” pointers to the live per-stream status entries. live, like they're real and current, not a stale copy πŸ’–
  • probe_count β€” how many entries in probe_status are valid β€” this one's the count for DC_GET_STATUS_PROBE ✨
  • probe_status β€” pointers to the live per-probe status entries. also live, also current, we love a consistent struct 🌸
bestie the operative word here is output-only β€” this struct is the driver telling you stuff, not you telling it stuff. don't go writing into it and then acting surprised 😭

πŸ¦‹ SEE ALSO πŸ¦‹

ok this list is LONG so buckle up, we're going on a journey, iykyk:


and that's the whole vibe check, bestie πŸ’œ this page lives over in ./drivers/gpu/drm/amd/display/dc, dated October 2026 β€” go read the source, it ate, mwah πŸŽ€πŸ”₯

πŸ“¦ where this page comes from