Received: by 10.223.185.116 with SMTP id b49csp3593604wrg; Mon, 19 Feb 2018 02:43:56 -0800 (PST) X-Google-Smtp-Source: AH8x2278h1nnhp/0KK6eMcMTw4Li04hOiBAoUvOYigI56h+M5rsknewauaBp+dLx9hWQiFvmrYcB X-Received: by 10.99.167.75 with SMTP id w11mr12134596pgo.246.1519037036568; Mon, 19 Feb 2018 02:43:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519037036; cv=none; d=google.com; s=arc-20160816; b=h9eFebi+t+4k8s3GIJm+s+EOSJyXqoI6SK7HD5z3yo6qOpPDgwC/3QPO8ZEnVgSP9c 60uH5C+tj3Qmm25E5oliyEwVwczJgTIbiLkgIWvZ/vduT0cGOhsfE78SSOOZQXAWmgG1 PjcJQXlxCaci88Ej8Lnt6TlWr4QzJZSXefR5iYPHwGsW48/yiI4LdGEXMIcaiBRFYtR8 uklTAw8y1PIv/rU4YDPPFN4g2Dv5fLKGmrgemJjQSTJ+qwwlllkPZPqDCsfRxC3Np3ji H2FBE6tSFVTqibC0ghPkRl8kmMq0MaJG3KbnCqxC/v+71hR9tSoVr3PMWP1QOk4Zyyox WoCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=iUHnNHi2mrrn1wTnTpPZQv4b6XMRxRUoXYWear8atac=; b=O8rW9oCyJq4MeH4bXCq7UCc47JNUEzkPu8RKuzrHDIYnGQhdQNzWfFLeU06lmuFvc9 MvgK43D2MaF3zJf9k+tnt6JTmxg+53NFx1ABp43w3bNfspxOoAK9pkssyjrgATkw4rZV dZ0FgoKUApBeRbJYdf66N/y6zAXIA1iDNkufc39dKrK/7daNTMNA7ITfIPuM8w47q73q Tw+cmMqLb2E7bR16WWXpzg9jEAJpsWxB0iGKZhF9T9fLw6nSbbDhFJGEBPlILG7zKtC0 PZeL1LqqSuX0OuATJIVq7o4jX9M+EuxiHSxWPQRPRY/7gxDPjfQg0c4Vs1N9LJ9zByd3 atkQ== 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 x3-v6si3994875plo.2.2018.02.19.02.43.42; Mon, 19 Feb 2018 02:43:56 -0800 (PST) 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 S1752550AbeBSKm5 (ORCPT + 99 others); Mon, 19 Feb 2018 05:42:57 -0500 Received: from mga12.intel.com ([192.55.52.136]:5574 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752307AbeBSKm4 (ORCPT ); Mon, 19 Feb 2018 05:42:56 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2018 02:42:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,534,1511856000"; d="scan'208";a="31892909" Received: from tkahrman-mobl.ger.corp.intel.com (HELO localhost) ([10.252.33.108]) by fmsmga001.fm.intel.com with ESMTP; 19 Feb 2018 02:42:53 -0800 From: Jani Nikula To: Kai-Heng Feng , airlied@linux.ie Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kai-Heng Feng , daniel.vetter@intel.com Subject: Re: [PATCH] drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA In-Reply-To: <20180218085359.7817-1-kai.heng.feng@canonical.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20180218085359.7817-1-kai.heng.feng@canonical.com> Date: Mon, 19 Feb 2018 12:42:52 +0200 Message-ID: <87woz99s5v.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 18 Feb 2018, Kai-Heng Feng wrote: > 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"") Implies Cc: # v4.8+ > BugLink: https://bugs.launchpad.net/bugs/1749420 > Signed-off-by: Kai-Heng Feng > --- > 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 ddd537914575..d9c8d718e261 100644 > --- a/drivers/gpu/drm/drm_edid.c > +++ b/drivers/gpu/drm/drm_edid.c > @@ -113,6 +113,9 @@ static const 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 }, -- Jani Nikula, Intel Open Source Technology Center