cache_debug_params(9)
cache_debug_params(9) β Kernel API Manual energy π«Ά
okay so this is the cache_debug_params(9) page, and it's basically the βsave that for debug laterβ bestie of the kernel API world. Letβs get into it β¨
πΈ NAME πΈ
cache_debug_params β caches any params that needed to be maintained from the initial validation for debug purposes. Itβs giving responsible little debug keeper, honestly π
π SYNOPSIS π
void cache_debug_params (struct display_mode_lib *mode_lib );
π¦ ARGUMENTS π¦
mode_libβ themode_libinput/output of the validate call. Thatβs the whole vibe for this one, bestie π
π DESCRIPTION π
So the DML getters can modify some of the VBA params that we are interested in β for example when calculating with dummy p-state latency. Because of that, this function caches any params here that we want for debugging. No cap, itβs just making sure the debug-relevant params are kept around π«Ά
β RETURN β
void β literally no return value. Iconic, honestly π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
byeee π this pageβs footer says source/version ./drivers/gpu/drm/amd/display/... and date October 2026 β and thatβs the whole cache_debug_params(9) moment. Slay πβ¨
π¦ 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