aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_crt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 505fc5cf26f8..0364292367b1 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -257,8 +257,14 @@ static bool intel_crt_compute_config(struct intel_encoder *encoder,
257 pipe_config->has_pch_encoder = true; 257 pipe_config->has_pch_encoder = true;
258 258
259 /* LPT FDI RX only supports 8bpc. */ 259 /* LPT FDI RX only supports 8bpc. */
260 if (HAS_PCH_LPT(dev)) 260 if (HAS_PCH_LPT(dev)) {
261 if (pipe_config->bw_constrained && pipe_config->pipe_bpp < 24) {
262 DRM_DEBUG_KMS("LPT only supports 24bpp\n");
263 return false;
264 }
265
261 pipe_config->pipe_bpp = 24; 266 pipe_config->pipe_bpp = 24;
267 }
262 268
263 /* FDI must always be 2.7 GHz */ 269 /* FDI must always be 2.7 GHz */
264 if (HAS_DDI(dev)) { 270 if (HAS_DDI(dev)) {