[Intel-gfx] [PATCH] drm/i915: Read WM before sanitize_encoder/crtc calls

2015-09-10 Thread Ville Syrjälä
On Wed, Aug 05, 2015 at 04:46:38PM +0200, Daniel Vetter wrote: > If we shut down the crtc we might run into WM consistency checks which > fail because we haven't yet read out the WM state. So do that before > we sanitized the state. > > This fixes a WARNING in the ilk wm code which assumes that le

[PATCH] drm/i915: Read WM before sanitize_encoder/crtc calls

2015-08-05 Thread Daniel Vetter
If we shut down the crtc we might run into WM consistency checks which fail because we haven't yet read out the WM state. So do that before we sanitized the state. This fixes a WARNING in the ilk wm code which assumes that level 0 WM are always enabled in it's internal tracking. But since we start