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: 9583071 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CA3A56057F for ; Mon, 20 Feb 2017 15:26:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCE602886D for ; Mon, 20 Feb 2017 15:26:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B17132886C; Mon, 20 Feb 2017 15:26:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8474428874 for ; Mon, 20 Feb 2017 15:26:21 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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 }, }; /*