STRUCT DC_PROBE_STATE(9)
π
struct dc_probe_state(9) β the dc_probe_state(9) kernel API manual page, bestie edition π
okay so this is a page straight out of the Kernel API Manual and it's all about one lil struct. it's giving "small but mighty" energy fr fr.
β¨ NAME β¨
struct dc_probe_state β a DM-authored descriptor of a single probe. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
here's the shape of it, copy it exactly, no cap:
struct dc_probe_state {
enum dc_probe_type type;
enum dc_probe_target_state target_state;
struct dc_probe_scope scope;
};
look at her. three members. absolutely iconic. β¨
π¦ Members π¦
typeβ what to measure. literally just "what are we even measuring here" π«Άtarget_stateβ the desired lifecycle state for this probe. like, where do we want it to end up πscopeβ what the probe is scoped to (and rn it'sGLOBALonly, okay? only. for now π)
π Description π
so what is this thing actually? it's a plain inline value with copy semantics β meaning no allocation, no refcount. none. zero. not a single refcount to your name π she just gets copied around and that's the whole point.
what does DC do with it? okay so: DC resolves each descriptor to a HW measurement instance, and then it diffs the desired set against the committed set to plan the transition. like a vibe check but for hardware state, iykyk π
ngl this part is the main character of the page β the diffing is the whole reason the struct exists, so don't skip it π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc_probe.henumdc_probe_type(9) enum dc_probe_target_state(9)enum dc_probe_scope_type(9)struct dc_probe_scope(9)struct dc_probe_updates(9)
go read those too, bestie, they're all in the same friend group π«Άπ§
and that's the page!! π this lil icon came to you from ./drivers/gpu/drm/amd/display/dc, dated October 2026, and that's the source/version + date sign-off, mwah π periodt β¨
π¦ 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