Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp738754imm; Thu, 13 Sep 2018 07:04:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdacUJlTO46Nr1UJHMQ5tRgXHXM+/iKPWQjI2Y+lf0XpaG7yYWoea68dTBWgzRMxePPuuXrd X-Received: by 2002:a63:344b:: with SMTP id b72-v6mr7411782pga.184.1536847465610; Thu, 13 Sep 2018 07:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847465; cv=none; d=google.com; s=arc-20160816; b=BWnJs3S4AVssRSdLvBXW/A1HGt5cj6SXmrM65ymTNWXacWxA65wvM75Igi02BDOMFo nJOR6mT9uuuoFJpofPJU8UWBknkRyGXwleZRQRKIKbUHqly/731W4TarSUNdXFQzMQ5Q vx13iJLZdtAQzI8n97FwShs8/Tk0OL+cP9/R2pHRXzc5r/gcKRr+xx2SmqZt027kqcid i0RsPcP7pGIBrRL5kVjbZRINFw9HGkhKx348/UMbSXo+uHNUK+KReAwKx9O8yyaLx5cA 1D30YGJuRsKi296LxHqXoWxszuarLXcRAcUwLt5p5PqxFLQeCYZveXF7+bXAsZJ4qMov +oVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=9XZacthZp9kBZ7jwjxPtBXmCVZWVaGRnP9oH5Iyeh78=; b=lxKEn0gwyzG1FD81/Wsb4gb8Wy9uhdif2ICjMmYDlL47PXDDYNEFk9Lj0POA3AwEUx pDJzgChxOyad/TYu+RUiXIU1Wkb8+kz0EtCwHMDjFOHvApWA7sCcQSVTxRhXaezNl3Qo LHTF70yCMuL/HrNo/deVrqL86uEVYJLaNrZhiqEzYCJaiEf0G+un5PPs7e3M+DPGyiNe 8mZnV5aP5uue5ycwQC90inuUgsx5ADtYhpq3vr4NnxtqdH2REqOqERmn+T5L5lzQMI/V PQzqGM2RuqdpP1ASmnvH/iHIyCJsOxJaseQs6xTp/yoFtp2rHAxgEuhaaiURle2mbDos 9/gQ== 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 t79-v6si4270284pfa.170.2018.09.13.07.04.08; Thu, 13 Sep 2018 07:04:25 -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 S1731129AbeIMTNN (ORCPT + 99 others); Thu, 13 Sep 2018 15:13:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35306 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbeIMTNN (ORCPT ); Thu, 13 Sep 2018 15:13:13 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 33E03D2E; Thu, 13 Sep 2018 14:03:34 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Daniel Vetter Subject: [PATCH 4.18 163/197] drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80 Date: Thu, 13 Sep 2018 15:31:52 +0200 Message-Id: <20180913131848.077411947@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kai-Heng Feng commit 25da75043f8690fd083878447c91f289dfb63b87 upstream. Another panel that reports "DFP 1.x compliant TMDS" but it supports 6bpc instead of 8 bpc. Apply 6 bpc quirk for the panel to fix it. BugLink: https://bugs.launchpad.net/bugs/1788308 Cc: # v4.8+ Signed-off-by: Kai-Heng Feng Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20180823055332.7723-1-kai.heng.feng@canonical.com Signed-off-by: Greg Kroah-Hartman --- 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 @@ -116,6 +116,9 @@ static const struct edid_quirk { /* CPT panel of Asus UX303LA reports 8 bpc, but is a 6 bpc panel */ { "CPT", 0x17df, EDID_QUIRK_FORCE_6BPC }, + /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ + { "SDC", 0x3652, EDID_QUIRK_FORCE_6BPC }, + /* Belinea 10 15 55 */ { "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 }, { "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 },