drm/i915: Loop over all active pipes in intel_mbus_dbox_update
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Tue, 2 Apr 2024 15:50:07 +0000 (18:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 4 Apr 2024 13:27:45 +0000 (16:27 +0300)
commite8333ab22cd8c750b7c14d3da7c0eef3ba85527f
tree8132c779d67ed38346a269375d90544fd77a5b33
parent31df4904a56f9b4fdf3ff022a75956f01057f51d
drm/i915: Loop over all active pipes in intel_mbus_dbox_update

We need to loop through all active pipes, not just the ones, that
are in current state, because disabling and enabling even a particular
pipe affects credits in another one.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240402155016.13733-6-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_watermark.c