Commit 108d14bd authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Setup PIPE_CHICKEN for fastsets too



Configure PIPE_CHICKEN during intel_update_pipe_config() to make
sure we have our chickens in a row with fastboot too.

v2: Apparently PIPE_CHICKEN is icl+ only

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190204202214.27051-1-ville.syrjala@linux.intel.com


Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
parent d1622119
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3958,6 +3958,9 @@ static void intel_update_pipe_config(const struct intel_crtc_state *old_crtc_sta
		I915_WRITE(SKL_BOTTOM_COLOR(crtc->pipe),
			   SKL_BOTTOM_COLOR_GAMMA_ENABLE |
			   SKL_BOTTOM_COLOR_CSC_ENABLE);

	if (INTEL_GEN(dev_priv) >= 11)
		icl_set_pipe_chicken(crtc);
}

static void intel_fdi_normal_train(struct intel_crtc *crtc)