Received: by 10.223.185.116 with SMTP id b49csp2681299wrg; Sun, 18 Feb 2018 04:21:40 -0800 (PST) X-Google-Smtp-Source: AH8x227K/INQiONC1qKoAP83nfstSo81TlJ0f6D0LJEhnJelLuxHkr4w6qzsmrVNj+ewjSWJ/F9l X-Received: by 10.101.86.73 with SMTP id m9mr5663115pgs.70.1518956500810; Sun, 18 Feb 2018 04:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518956500; cv=none; d=google.com; s=arc-20160816; b=xI7xDmrEGNxqAlu0VNphxZlEuIrbH1TSkaEpEJwDXXli3M28FnZg4vBxgAzbMoKt9x a48TaUYkDrgGRwVWFykges01+el0cm6sRwUXxmmUbpga742/MUhyAzPIYTbtqB8jElvR x8y2izlhRcY7eEvbpb9utEDh9N5owfCRmgAUFpPlnQ+6Dxs4/lAbzZ4t0UlqPCI9ZxRh 2yIZhgh+pHMqh1QRrCyNoB8W+ICArPqkacACRtUgH0wXEbo1i+k9vdaKLz7Hr8OU9XlQ i5DkfAS3KjquiKKqaplpEv70Tlnx4Kw3edpAwzAC2Z1I9KK/CNKj1lAt8ZHKralAxiZs WtDQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=lZQtpY2IIMxwFaTYvkbdGs4K2+4PFN4thlv/+1tj8fc=; b=Z4VgEc1I472xDYv6cV1mVKi4Dx+L3OAxgPc83iQqpEsTFwFb69aflPHL9EDYblJXCK 1C0Z2Ncksti6NAxU7iTFSuG3B2q7XxnNNnWO1P6JmZoPuBm5WHLqsioeIkAPCBUkXyGx n2H5jthk8lagYpXGne9TGX2CRfdzfgONFZd2BpbNID6+FoG6NwXNWoNAi6pY3JXL57bW joijI5mN/ooijKRpfQTasWKU4rrk/2KOV9fTive0YZLBXKZPOe/AN3PFpLriJshR65na LVHTn+reCuiMnSzkuleX0cEOrfshTlqJCIgm5aROzwJsiWPSgwKF+wjG6jgQRU2vQwbE 2mYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=REfuA56G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11-v6si2396636plj.701.2018.02.18.04.20.51; Sun, 18 Feb 2018 04:21:40 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=REfuA56G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751347AbeBRMRa (ORCPT + 99 others); Sun, 18 Feb 2018 07:17:30 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40328 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751292AbeBRMR2 (ORCPT ); Sun, 18 Feb 2018 07:17:28 -0500 Received: by mail-wr0-f193.google.com with SMTP id o76so6960087wrb.7 for ; Sun, 18 Feb 2018 04:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lZQtpY2IIMxwFaTYvkbdGs4K2+4PFN4thlv/+1tj8fc=; b=REfuA56GhJCx9b4mfKSibtsKijlOa16GCm17VWcjP1dD/hA3+yBcFYkvXrQ5fQXl9s tI8ZqS17Lz0lpDTciGrObtubzeTV4sn28HkYIZHwfYUx93YNveqVlEgCGrTTjZkQ7iyy m1K2SS2cs9gANLbF/KSfgowVH5yV34UFfJBf3+WgdELVWY+RZgVVE6YlHAbz2BZ3636q 87pW/ZjB1DjqPRRYQueogNcDXc+izsjikkaRLUJrCdd+xKOV7NsqyAv3+8UJgHxfm25F DKTTJbCBiXUUUJJMItxvl//wGMLpme3PBhmoXtVTn9ZUtFZwSP63eTSd1VI0+QZPi3Iw qsfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lZQtpY2IIMxwFaTYvkbdGs4K2+4PFN4thlv/+1tj8fc=; b=gEjY1TWPfdzys1mouSch3dJB6OFCcP75JQZ2HdqPWlQ0Z/tpLWBPVlfHfvGicMXXKd gj7Xgg3CyWB5cyoWTR88+u9lNI0zkycf2S5n4D9+QyDbtGV70z1F3JRSzVppTvdzRxeW UFnw2oC+18QuKRaoZIRYu2ZlFpe1mZxmB24eLwkoWQkYini4zpGU8TUcBnPtYe7x01YL V9etPUayBfUXlWgPmXpRGSoLNRf8glf9xNcvbrS1f5d/hAlP+wtE7WGzElHhE1RZuFzD CHVhrY6Pxokxj2WIzwPJWeyHc1d8RfzFhni7OQQSgAjCyHN1Ngu5Z29fDR0Y4SmYpxOd nKvg== X-Gm-Message-State: APf1xPCq1o+2lEi7OVwL9yxeS+dt8XYm1paQ9SB5bRhPbfDGsfNqzQ60 7roMC2XjwEPH4i5DvxAazHEQYA== X-Received: by 10.223.184.134 with SMTP id i6mr11121847wrf.179.1518956247062; Sun, 18 Feb 2018 04:17:27 -0800 (PST) Received: from ?IPv6:2a01:c22:d026:2300:988d:7f9b:e6f6:6866? ([2a01:c22:d026:2300:988d:7f9b:e6f6:6866]) by smtp.gmail.com with ESMTPSA id a18sm31284272wra.56.2018.02.18.04.17.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 04:17:26 -0800 (PST) Subject: Re: [PATCH] drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA To: Kai-Heng Feng , airlied@linux.ie Cc: daniel.vetter@intel.com, gustavo@padovan.org, seanpaul@chromium.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20180218085359.7817-1-kai.heng.feng@canonical.com> From: Mario Kleiner Message-ID: Date: Sun, 18 Feb 2018 13:17:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180218085359.7817-1-kai.heng.feng@canonical.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/18/2018 09:53 AM, 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"") > 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 }, > Reviewed-by: Mario Kleiner