dc_get_unde...data_for_otg(9)
π dc_get_underflow_debug_data_for_otg(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is a kernel API manual page, and yes it's about the AMD display core, and no you don't have to be scared, i got you π«Ά
πΈ NAME πΈ
dc_get_underflow_debug_data_for_otg β the little function that goes and gets your underflow debug data for you. literally that's the whole job. she retrieves underflow debug data π
β SYNOPSIS β
void dc_get_underflow_debug_data_for_otg (struct dc *dc , unsigned int
primary_otg_inst , struct dc_underflow_debug_data *out_data );
she returns void (nothing back, it's all going into out_data), no cap π
π¦ ARGUMENTS π¦
dcβ pointer to the display core context, iykyk πprimary_otg_instβ the instance index of the primary OTG that underflowed. like, which one fell over, bestie πout_dataβ pointer to adc_underflow_debug_datastruct that gets filled up with all the debug information. she's the container, she's the main character here π
β¨ DESCRIPTION β¨
so what does she actually do? okay so when underflow happens, this function collects and logs the underflow-related HW states π and the roster of what she scoops up is:
- OTG underflow status
- current read positions
- frame count
- per-HUBP debug data
and where does all that go? into the provided out_data structure ofc π so you can look at it later for further analysis or logging. it's giving "data collector, but make it iconic". periodt π
π₯ SEE ALSO π₯
all the related reads, fr fr β these live in the 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)struct dc_state_status(9)dc_state_get_status(9)struct dc_validation_stream(9)struct dc_validation_set(9)dc_capture_register_software_state(9)dc_get_qos_info(9)dc_override_memory_bandwidth_request(9)
π quick vibe check: this page lives under ./drivers/gpu/drm/amd/display/dc, version date October 2026. go read the source if you want the deep lore, bestie π
anyway that's the page!! you ate that, go debug those underflows πβ¨ππ¦πΈπ π«Άπ₯ππβπππ§
π¦ 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