From patchwork Mon Feb 20 15:25:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 94227 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp33407qgi; Mon, 20 Feb 2017 07:26:21 -0800 (PST) X-Received: by 10.99.23.102 with SMTP id 38mr28486810pgx.188.1487604381824; Mon, 20 Feb 2017 07:26:21 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 196si18887985pgb.321.2017.02.20.07.26.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Feb 2017 07:26:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 992C56E420; Mon, 20 Feb 2017 15:26:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D97E6E420; Mon, 20 Feb 2017 15:26:19 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id u63so14906750wmu.2; Mon, 20 Feb 2017 07:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=Y9QcZR17K00dDKSY1cMxFp2fBrqMGjv2d1/5iYFgFwE=; b=XeJcR0ETpqb6+b8PU3koCkNeIBnCqL++g5AzO2IlN/VnMeYYBlf03dtmhPhJyBwfwk jEZxOFRhzmZ+fWjgQid5KNqMCvVwqfHPhdcsoSjGcYvzuJO3DNdaHkyuBHpm9BYIYw1v iOrzpVwDDsdF2X1dc1LGdmLy5kFK06MGwD7w45UozyuDXFgyAO0l4y1fTwogHme7ETeH KjBAdPtfLVjNago+RcmD93kCAkHo8VzTaqzBN2OKKH2dfl9Uqm1GKMb54TgI+iRfSTyB 1FYSAdZxqJlrrlbVhkpe24qRU2F8sZj+aX2Yc4PdP/J3LT4nWjrfUFaD54QjbzlJtnCl gBcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Y9QcZR17K00dDKSY1cMxFp2fBrqMGjv2d1/5iYFgFwE=; b=hwPAzjpJLhsKJqxtioToGxD1x5UIlaZBAqSzjpnV3P+amnD4mzbuZaw0TpModFSRM3 hB5IPxsfqrchLM2uwcb/tWABaXPxG+iWNNT+kGqBGAhgJiTIpLXAMuSYEQUT8H2xWzN8 7ggttk9HLdW9AhxCrQvY3e346mNSjmZyH20ZYfX02R9UX0EdJCilHTZDzRo/t0L3g4qM 5jsU2Cg8pDl/CPoHZSs/dmQGaRDJoJsjgOpp86kqlVcNSbIeKGBYjv/pyO/aO4V5/ikq 9DsPbBdPWkIYxNbhIzKOp1pN2CkZjtUGJHgNXKDEOh8wacX0H4Lh9Lm47utk+z9oLFJb QioQ== X-Gm-Message-State: AMke39l4rezRmiHsQOvO0EdphRMW3WRbNCte6LSLp+OKD0G8O/U/B5dPiVdC3WJONGLvmQ== X-Received: by 10.28.224.67 with SMTP id x64mr21372347wmg.20.1487604377797; Mon, 20 Feb 2017 07:26:17 -0800 (PST) Received: from cizrna.lan ([109.72.12.95]) by smtp.gmail.com with ESMTPSA id h3sm25213894wrb.31.2017.02.20.07.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Feb 2017 07:26:16 -0800 (PST) From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Subject: [PATCH] drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058 Date: Mon, 20 Feb 2017 16:25:45 +0100 Message-Id: <20170220152545.13153-1-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.9.3 Cc: Tomeu Vizoso , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Rotel RSX-1058 is a receiver with 4 HDMI inputs and a HDMI output, all 1.1. When a sink that supports deep color is connected to the output, the receiver will send EDIDs that advertise this capability, even if it isn't possible with HDMI versions earlier than 1.3. Currently the kernel is assuming that deep color is possible and the sink displays an error. This quirk will make sure that deep color isn't used with this particular receiver. Fixes: 7a0baa623446 ("Revert "drm/i915: Disable 12bpc hdmi for now"") References: https://bugs.freedesktop.org/show_bug.cgi?id=99869 Signed-off-by: Tomeu Vizoso Tested-by: Matt Horan Reviewed-by: Ville Syrjälä --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 24e7b282f16c..d994ccf94f88 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -148,6 +148,9 @@ static const struct edid_quirk { /* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */ { "SEC", 0xd033, EDID_QUIRK_FORCE_8BPC }, + + /* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/ + { "ETR", 13896, EDID_QUIRK_FORCE_8BPC }, }; /*