resource_validate_probe_set(9)
π resource_validate_probe_set(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is resource_validate_probe_set β the function that looks at your probe descriptor set and is like "hmm, will the ASIC actually do this?" π
πΈ NAME πΈ
resource_validate_probe_set β validate a probe descriptor set against the ASIC. That's it, that's the whole vibe check π
π¦ SYNOPSIS π¦
enum dc_status resource_validate_probe_set (struct dc *dc , const struct
dc_probe_state *probes , uint8_t probe_count );
β¨ ARGUMENTS β¨
dcβ the DC instance, aka the one handing you the HWSS capability hooks π«Ά it's giving "here's what the hardware can actually do" energyprobesβ the desired probe descriptors, i.e. the probe set you're manifesting π₯probe_countβ the number of valid entries inprobes. note the word valid bestie, we're not out here counting garbage π
π RETURN π
DC_OK if it's achievable π otherwise a DC error π no cap, that's the whole deal.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/display/dc/core/dc_resource.cβ go read it, iykyk π dc_validate_with_context(9)dc_update_modified_pix_clock_for_dsc_with_padding(9)calculate_timing_params_for_dsc_with_padding(9)dc_validate_global_state(9)
π¦ okay that's the page!! this lil icon came to you from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β slay, periodt, go validate some probes πβ¨
π¦ 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