drm/i915: Sanitize underrun reporting before turning off any pipes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Jun 2022 17:48:51 +0000 (20:48 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Jun 2022 14:06:18 +0000 (17:06 +0300)
commit651d4a0fc4c5c6a2d20c95ef814f0d4381f71d55
tree22a4cd2dbdac4bf617f4241880efcc0839ebd8fa
parentb8fec4400923eb91f995d7dbe97411b8991ea559
drm/i915: Sanitize underrun reporting before turning off any pipes

Make sure FIFO underrun reporting is flagged as disabled very
early during the state readout so that we don't get any
spurious FIFO underruns reports from intel_crtc_disable_noatomic().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220615174851.20658-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c