STRUCT DC_GET_STATUS_OPTIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dc_get_status_options(9) β€” Kernel API Manual

okay bestie, welcome to the Kernel API Manual page for struct dc_get_status_options(9), and yes we are about to make a struct sound cute. this one is literally just an input selector, she's not doing anything dramatic, but she IS the blueprint πŸ’–


✨ NAME ✨

struct dc_get_status_options β€” the input selector for dc_state_get_status. that's it, that's her job, and she does it flawlessly πŸŽ€


🌸 SYNOPSIS 🌸

struct dc_get_status_options {
    struct dc_state              *state;
    uint32_t types;
    const struct dc_stream_state *stream;
    const struct dc_probe_state  *probe;
 };

look at that alignment. the spacing. the way that it's giving organized. obsessed πŸ’…


πŸ¦‹ Members πŸ¦‹

four members, four little besties, let's meet them:

  • state β€” the source state you're reading status from. this is the main character of the whole operation ngl πŸ‘‘
  • types β€” an OR of dc_get_status_type values, selecting which classes to populate. it's a bitmask moment, you're picking your vibes πŸ’«
  • stream β€” an optional stream filter for DC_GET_STATUS_STREAM. and NULL means populate status for all streams in the state. no cap, NULL = everyone invited 🫢
  • probe β€” an optional probe filter for DC_GET_STATUS_PROBE. and NULL here means populate status for all probes in the state. same energy, different member fr fr ✨
lowkey the whole struct is just "here's what I want status for, and here's my optional filters." no complicated lore. iconic behaviour, honestly.

🌈 SEE ALSO 🌈

bestie there are so many siblings, the whole family showed up. live in the kernel file ./drivers/gpu/drm/amd/display/dc/dc.h and go read:


okay that's the whole page, you're officially educated πŸ’œ this lil drop came straight from ./drivers/gpu/drm/amd/display/dc and it's dated October 2026 β€” so like, future vibes only πŸ§šβ€β™€οΈ mwah, go read the kernel, ily, bye πŸ“

πŸ“¦ where this page comes from