STRUCT DC_STATE_STATUS(9)
π 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 instream_statusare actually valid, k? it's the count forDC_GET_STATUS_STREAMand 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 inprobe_statusare valid β this one's the count forDC_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:
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc.h MAX_SURFACES(9)MAX_PLANES(9)color-management-caps(9)struct rom_curve_caps(9)struct dpp_color_caps(9)struct mpc_color_caps(9)struct dc_color_caps(9)enum pipe_split_policy(9)dc_check_state_update(9)dc_update_state(9)dc_update_state_init(9)dc_update_state_prepare(9)dc_update_state_execute(9)dc_update_state_cleanup(9)struct dc_probe_latencies(9)struct dc_probe_status(9)enum dc_get_status_type(9)struct dc_get_status_options(9)dc_state_get_status(9)struct dc_validation_stream(9)struct dc_validation_set(9)dc_get_underflow_debug_data_for_otg(9)dc_capture_register_software_state(9)dc_get_qos_info(9)dc_override_memory_bandwidth_request(9)
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
- 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