From patchwork Thu May 28 07:41:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 6496521 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6B1FE9F1CC for ; Thu, 28 May 2015 07:39:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F4FB20671 for ; Thu, 28 May 2015 07:39:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 7A2C12065E for ; Thu, 28 May 2015 07:39:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B42A6E263; Thu, 28 May 2015 00:39:24 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id E39456E263 for ; Thu, 28 May 2015 00:39:22 -0700 (PDT) Received: by wgv5 with SMTP id 5so28645051wgv.1 for ; Thu, 28 May 2015 00:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=I4Re8Egd91EbJhug79ZLhDfLOSIXKuc+fpviC5TB+eA=; b=UUrUGogkVceHwKBf0R8wJLdET452OFPPw9nq3RRcWKkG4IL98wFZ4dYFmW9xyz08UT QqJqMdVFd4cs9ynsMkQQkyCuvQCXtL/afPDKn+XhokR59qJvfNFdZaF/7U/UAQvR1TrC GErZ5CpD+pfqSfooTE16DZF9S2kA0ebTipeG4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=I4Re8Egd91EbJhug79ZLhDfLOSIXKuc+fpviC5TB+eA=; b=epaS/LPldhV41e4CMATfNa3GSs9ME6Vh44pK0+Ug8LoQrs7T/jv3ZbX3JvEKU1FicD 6hwy6MlaoyU9MRs62zzTKX0pEuqMyudFW0xsEpWzN626WVMnCj1n8kXNqRp/T4h8lwPp Ln1XCWYQQyolJt5WjAME2ebx4IiZdIyt79wGQIyHgxIPGPO39Cev8fF+2IjUBPdCbPYK DSZa3OrriHWyC2p+ApyPI3R1rSG2ef89R7QazWEvIp6EsEJbVUESZyrbtrlWrHE99ZJT vBNX/Cu7XIRRFvZ+Zz7fCQet921hM38gez84YF59ionEhPIs3ZRcFbGPsN6MxN4Sh2yh TDmw== X-Gm-Message-State: ALoCoQn1IgI7Ij7n0GJ6bG6qHXVEvbKD5utliOh8OE3DdjqOL3NQGM78D2qdLHI0KjtA7wdPFIJ1 X-Received: by 10.194.172.130 with SMTP id bc2mr2756912wjc.85.1432798761877; Thu, 28 May 2015 00:39:21 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-109.fiber7.init7.net. [212.51.149.109]) by mx.google.com with ESMTPSA id ch2sm2599200wib.18.2015.05.28.00.39.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 May 2015 00:39:20 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Thu, 28 May 2015 09:41:45 +0200 Message-Id: <1432798905-26906-1-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Daniel Vetter , Daniel Vetter Subject: [Intel-gfx] [PATCH] drm/i915: Disable 12bpc hdmi for now X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's totally broken, and since 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 the kernel will try to use it even for the common rgb888 framebuffers. Ville has patches to fix it all up properly, but unfortunately they're stuck in review limbo. And since the 4.2 feature cutoff has passed we need to somehow handle this regression. Cc: Ville Syrjälä Cc: Paulo Zanoni Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_hdmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 4117092ab2e3..e97731aab6dc 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -1036,7 +1036,8 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder, */ if (pipe_config->pipe_bpp > 8*3 && pipe_config->has_hdmi_sink && clock_12bpc <= portclock_limit && - hdmi_12bpc_possible(pipe_config)) { + hdmi_12bpc_possible(pipe_config) && + 0 /* FIXME 12bpc support totally broken */) { DRM_DEBUG_KMS("picking bpc to 12 for HDMI output\n"); desired_bpp = 12*3;