calc_rc_params(9)
π calc_rc_params(9) π
okay so welcome to the Kernel API Manual bestie, this is the page for calc_rc_params(9) and we're gonna get you comfy with it π
β¨ NAME β¨
calc_rc_params β reads the user's cmdline mode
πΈ SYNOPSIS πΈ
void calc_rc_params (struct rc_params *rc , const struct drm_dsc_config
*pps );
π ARGUMENTS π
rcβ the DC internal DSC parameters, literally the internal glow-up data for DSCppsβ the DRM struct with all required DSC values, aka the DRM-side bestie carrying every DSC value you need
π¦ DESCRIPTION π¦
So this function expects a drm_dsc_config data struct with all the required DSC values already filled out by our driver β like, previously filled out, no cap β and based on that information it computes some of the DSC values. That's the whole vibe: info goes in, some DSC values get computed β¨
note This calculation requires float point operation, most of it executes under kernel_fpu_{begin,end}. π
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
and that's the page, bestie π This iconic lil manual page comes from the Kernel API Manual, source ./drivers/gpu/drm/amd/display/..., dated October 2026. 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