drm/i915: Add missing invalidate to g4x wm readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jun 2022 15:54:48 +0000 (18:54 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Sep 2022 14:20:09 +0000 (17:20 +0300)
commit2d28094b26be804369fcf92315123ff07f3d4e0e
treedacc51d1763a09a22ec074c237d4b36811add885
parent59f13af3b645e647247de14cc06f0d04c5cc24ae
drm/i915: Add missing invalidate to g4x wm readout

Let's not forget to mark the unused watermark levels as invalid
after the readout. The vlv/chv codepath has this but the g4x
didn't for some reason.

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