From 98f7e7cc156e36db69f5c58914add311f75d9912 Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Mon, 18 May 2015 14:31:45 +0300 Subject: [PATCH] drm/i915: Limit max bpc to 10 Since the following commit, it is possible that the driver will attempt to use a 12 bpc configuration. The is know to be broken with HDMI, so for now go back to the 10 bpc 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 plane Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90460 Signed-off-by: Ander Conselvan de Oliveira --- drivers/gpu/drm/i915/intel_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a7732b4..cbb3cfb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -11227,7 +11227,8 @@ compute_baseline_pipe_bpp(struct intel_crtc *crtc, if ((IS_G4X(dev) || IS_VALLEYVIEW(dev))) bpp = 10*3; else if (INTEL_INFO(dev)->gen >= 5) - bpp = 12*3; + /* FIXME: gen >= 5 supports 12 bpc but that is broken with HDMI */ + bpp = 10*3; else bpp = 8*3; -- 2.1.0