drm/i915: Add "maximum pipe read bandwidth" checks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Mar 2022 19:12:07 +0000 (21:12 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 21 Mar 2022 16:00:15 +0000 (18:00 +0200)
commitea0839691816b9742ca1371d4e1645192f1a733d
treeddb95944a4f71f18ac9df0526ce00e16bbe4051d
parent5ac860cc52540df8bca27e0bb25b6744df67e8f0
drm/i915: Add "maximum pipe read bandwidth" checks

Make sure the CDCLK is high enough to support the so called
"maximum pipe read bandwidth" limitation. Specified as
51.2 x CDCLK.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303191207.27931-10-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/display/intel_bw.h