]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/i915: Setup PIPE_CHICKEN for fastsets too
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Feb 2019 20:22:14 +0000 (22:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 19:57:58 +0000 (21:57 +0200)
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: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190204202214.27051-1-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/intel_display.c

index af848fb72ed653515223dab3af9a0cbcd0b250af..dc7a2aa6287466ce7dff0ea4901323e94cd88119 100644 (file)
@@ -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)