STRUCT DC_GET_STATUS_OPTIONS(9)
π 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 ofdc_get_status_typevalues, selecting which classes to populate. it's a bitmask moment, you're picking your vibes π«streamβ an optional stream filter forDC_GET_STATUS_STREAM. andNULLmeans populate status for all streams in the state. no cap,NULL= everyone invited π«Άprobeβ an optional probe filter forDC_GET_STATUS_PROBE. andNULLhere 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:
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_state_status(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)
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
- 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