calc_rc_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 DSC
  • pps β€” 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