]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/gpu/drm/i915/intel_display.c
drm/i915: fix pipeconf dither bit definitions
[mirror_ubuntu-hirsute-kernel.git] / drivers / gpu / drm / i915 / intel_display.c
index d5cb7bab340cd85553c18d1b1cb32d0979e7eda5..948a3608d1bdc1a25661c45ddfe4e9901df3edc8 100644 (file)
@@ -3910,8 +3910,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
        }
 
        if (HAS_PCH_SPLIT(dev)) {
-               pipeconf &= ~PIPE_ENABLE_DITHER;
-               pipeconf &= ~PIPE_DITHER_TYPE_MASK;
+               pipeconf &= ~PIPECONF_DITHER_EN;
+               pipeconf &= ~PIPECONF_DITHER_TYPE_MASK;
        }
 
        /* The LVDS pin pair needs to be on before the DPLLs are enabled.
@@ -3955,8 +3955,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
                if (IS_I965G(dev)) {
                        if (dev_priv->lvds_dither) {
                                if (HAS_PCH_SPLIT(dev)) {
-                                       pipeconf |= PIPE_ENABLE_DITHER;
-                                       pipeconf |= PIPE_DITHER_TYPE_ST01;
+                                       pipeconf |= PIPECONF_DITHER_EN;
+                                       pipeconf |= PIPECONF_DITHER_TYPE_ST1;
                                } else
                                        lvds |= LVDS_ENABLE_DITHER;
                        } else {