cache_debug_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” the mode_lib input/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