From 32eb2c3857d3553191a16b23065b7abf3ade45a3 Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Tue, 19 May 2015 12:00:26 +0300 Subject: [PATCH] drm/i915: Don't attempt to use 12 bpc with HDMI Since the following commit, it is possible that the driver will attempt to use a 12 bpc configuration. This is know to be broken with HDMI, so for now go back to previous limit. commit d328c9d78d64ca11e744fe227096990430a88477 Author: Daniel Vetter Date: Fri Apr 10 16:22:37 2015 +0200 drm/i915: Select starting pipe bpp irrespective or the primary Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90460 Signed-off-by: Ander Conselvan de Oliveira --- drivers/gpu/drm/i915/intel_hdmi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 590d46b..0ecc7cf 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -1028,6 +1028,7 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder, if (pipe_config->has_hdmi_sink && intel_hdmi->has_audio) pipe_config->has_audio = true; +#if 0 /* * HDMI is either 12 or 8, so if the display lets 10bpc sneak * through, clamp it down. Note that g4x/vlv don't support 12bpc hdmi @@ -1042,7 +1043,9 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder, /* Need to adjust the port link by 1.5x for 12bpc. */ pipe_config->port_clock = clock_12bpc; - } else { + } else +#endif + { DRM_DEBUG_KMS("picking bpc to 8 for HDMI output\n"); desired_bpp = 8*3; } -- 2.1.0