drm/i915: Skip some bw_state readout on pre-icl
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 6 Mar 2025 16:34:14 +0000 (18:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Mar 2025 17:02:46 +0000 (19:02 +0200)
commitff79a131d37a9ab6301c310f8ea9c12e93212baa
tree5d45b508be173cd2b2353df4ad988f1163b95744
parent7b65b24a4ecbe11763a68625e7f626d3b913f041
drm/i915: Skip some bw_state readout on pre-icl

We only compute bw_state->data_rate and bw_state->num_active_planes
on icl+. Do the same during readout so that we don't leave random
junk inside the state.

v2: Skip the whole intel_bw_crtc_update() (Vinod)

Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306163420.3961-13-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_bw.c