drm/i915: Ensure setting up scalers into staged crtc_state
authorChandra Konduru <chandra.konduru@intel.com>
Tue, 7 Apr 2015 22:28:43 +0000 (15:28 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Apr 2015 09:39:10 +0000 (11:39 +0200)
commite04fa8036203e6f4f82b5a66e6e78e4118d9cfec
treea9db0a342e5520621b02ca5838ee95630cb9b9fe
parentd03c93d4801563de43abf91e56ff4b3fbc8cc7e4
drm/i915: Ensure setting up scalers into staged crtc_state

From intel_atomic_check, call intel_atomic_setup_scalers() to
assign scalers based on staged scaling requests. Fail the
transaction if setup returns error.

Setting up of scalers should be moved to atomic crtc check  once
atomic crtc is ready.

v2:
-updated parameter passing to setup_scalers (me)

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_atomic.c