Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2252618imm; Thu, 7 Jun 2018 07:44:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKGf3ccZeMUHa53KNuDSOUaghn1U1IVlQkUpTgjsz8Cw/BX/xYWdFObqyr8pcu5Mq0aHBgg X-Received: by 2002:a17:902:ac97:: with SMTP id h23-v6mr2371485plr.140.1528382681456; Thu, 07 Jun 2018 07:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528382681; cv=none; d=google.com; s=arc-20160816; b=QQQIbDo4I4wM6oNOaTRWxU1u5Puhqc1fWGGCDEC1F67N0YcJS0oD62H+razNXD6qn4 gjrbpIBJZyt+/oJz2m9UaAUEv++xmtwinRoht3bahN2zneATVx6cAPO4dFVaO9e+P7Yh 9TI25IzrnIsAW9G7Wiu6H4fabG3ZNvPzIFd/5rwuLq9WZO0W/Kt/20da4yhnkmdeJsDT ywdIZuaowXF0Vrs0Bxnq66Co6Z69eXojA1o0H4dlK2f/HXrW5LPwZcMuplKVnLMjM+vn sTafcBqsWIHokI3PWaM4tHPc86xJuAxESRJpMVLR8Ar3b0QhmZ/DduGkDhIYCoI52Q2h Qx5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=lp3eOcFJzWj4BvxBE2Up+JpjeDkHAOVn+DimbZqKzb8=; b=timoFUsAkC8B7tqk0yxkUJclV/T8Ryz4DlfStRpV02A2CqpVIMyqH/UdOm+wdaTAYM H1RoFnt+v1YmHfWJwUYSgumGe31xHCL1y2KXLQyDxY+JP9lbGUojWkva32AlapcAVXRq Lf4Ji5nu6ppndy56YFDTPYDzob/ijm4lUxLdsO1pdfBckechRmFNLHwrwDnwDMc1oi80 Qsjfr6IHamGlz7Q1XhXp5leW04NCXVRIa5Z6wId5sFrfAxGTQRUk33GJNeqrJZut6W4n Ov+XeUGbnhnb4GlmaWGYhH0INgSjsGBOBphB1qygq2lqJR1wi4CDoAAWR/g6x23kOJdq g67w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 22-v6si15023409pfh.308.2018.06.07.07.44.27; Thu, 07 Jun 2018 07:44:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934865AbeFGOnd (ORCPT + 99 others); Thu, 7 Jun 2018 10:43:33 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40680 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934069AbeFGOna (ORCPT ); Thu, 7 Jun 2018 10:43:30 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvba-0005Zo-HY; Thu, 07 Jun 2018 15:09:34 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb8-00035n-SA; Thu, 07 Jun 2018 15:09:06 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Daniel Vetter" , "Mario Kleiner" , "Kai-Heng Feng" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 264/410] drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng commit 06998a756a3865817b87a129a7e5d5bb66dc1ec3 upstream. Similar to commit e10aec652f31 ("drm/edid: Add 6 bpc quirk for display AEO model 0."), the EDID reports "DFP 1.x compliant TMDS" but it support 6bpc instead of 8 bpc. Hence, use 6 bpc quirk for this panel. Fixes: 196f954e2509 ("drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capability is unknown"") BugLink: https://bugs.launchpad.net/bugs/1749420 Signed-off-by: Kai-Heng Feng Reviewed-by: Mario Kleiner Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20180218085359.7817-1-kai.heng.feng@canonical.com Signed-off-by: Ben Hutchings --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -105,6 +105,9 @@ static struct edid_quirk { /* AEO model 0 reports 8 bpc, but is a 6 bpc panel */ { "AEO", 0, EDID_QUIRK_FORCE_6BPC }, + /* CPT panel of Asus UX303LA reports 8 bpc, but is a 6 bpc panel */ + { "CPT", 0x17df, EDID_QUIRK_FORCE_6BPC }, + /* Belinea 10 15 55 */ { "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 }, { "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 },