[Intel-gfx] [PATCH 23/37] drm/i915: do not set 6BPP dithering on haswell
Eugeni Dodonov
eugeni.dodonov at intel.com
Thu Mar 22 02:09:58 CET 2012
We don't have those bits on Haswell anymore, so do not set them.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index e056c32..24a0a6c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5335,9 +5335,10 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,
pipeconf &= ~(PIPECONF_BPP_MASK | PIPECONF_DITHER_EN);
if (is_dp) {
if (mode->private_flags & INTEL_MODE_DP_FORCE_6BPC) {
- pipeconf |= PIPECONF_BPP_6 |
- PIPECONF_DITHER_EN |
+ pipeconf |= PIPECONF_DITHER_EN |
PIPECONF_DITHER_TYPE_SP;
+ if (!IS_HASWELL(dev))
+ pipeconf |= PIPECONF_BPP_6;
}
}
--
1.7.9.2
More information about the Intel-gfx
mailing list