drm/i915/gen9: fix typo when setting up the crtc scaler
authorImre Deak <imre.deak@intel.com>
Tue, 23 Jun 2015 17:40:27 +0000 (20:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 22:22:39 +0000 (00:22 +0200)
This typo lead to the crtc scaler getting enabled incorrectly and an
evantual state checker mismatch about the scaler_id.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 060e30be3e394b4e1ebddba368622f566e43b8b3..47c0501f052c81bef15c2e68c805b88f9cdbeb1f 100644 (file)
@@ -4352,7 +4352,7 @@ int skl_update_scaler_crtc(struct intel_crtc_state *state, int force_detach)
        return skl_update_scaler(state, force_detach, SKL_CRTC_INDEX,
                &state->scaler_state.scaler_id, DRM_ROTATE_0,
                state->pipe_src_w, state->pipe_src_h,
-               adjusted_mode->hdisplay, adjusted_mode->hdisplay);
+               adjusted_mode->hdisplay, adjusted_mode->vdisplay);
 }
 
 /**