]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/intel_cdclk: Add vdsc with bigjoiner constraints on min_cdlck
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 17 Aug 2023 14:24:47 +0000 (19:54 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 18 Aug 2023 04:12:17 +0000 (09:42 +0530)
commit7f5ac365261dcbd7e9fb6f4c09d0d363be5b5d4b
treedebb0af63c2998484e1b14ba696de0a7b2ad3a4b
parentd9f864efb937a222d1eb1f319bc35176494f5a7d
drm/i915/intel_cdclk: Add vdsc with bigjoiner constraints on min_cdlck

As per Bsepc:49259, Bigjoiner BW check puts restriction on the
compressed bpp for a given CDCLK, pixelclock in cases where
Bigjoiner + DSC are used.

Currently compressed bpp is computed first, and it is ensured that
the bpp will work at least with the max CDCLK freq.

Since the CDCLK is computed later, lets account for Bigjoiner BW
check while calculating Min CDCLK.

v2: Use pixel clock in the bw calculations. (Ville)

v3: Use helper to account for FEC overhead. (Stan)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230817142459.89764-7-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c