drm/i915: Preserve scaler state when clearing crtc_state
authorChandra Konduru <chandra.konduru@intel.com>
Tue, 7 Apr 2015 22:28:41 +0000 (15:28 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Apr 2015 09:30:54 +0000 (11:30 +0200)
commit663a36407a71b3a98cea087f9a215660a6d6e387
treedad0ce263345a9c1e113a7e250e2ccde64e926aa
parent6a60cd87cdc6fab14c33b2ddf338e5de6bf21e87
drm/i915: Preserve scaler state when clearing crtc_state

crtc_state is cleared during mode set which wipes out complete
scaler state too. This is causing issues. To fix, ensure scaler
state is preserved because it contains not only crtc
scaler usage, but also planes using scalers on this crtc.

Signed-off-by: Chandra Konduru <chandra.konduru@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c