Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp52983rdb; Mon, 18 Dec 2023 08:43:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyxZVvOGVPuh7zAt7PXeAgZYT+skogt+v5i+mquEYYolo5Y4R8A8btraJcqg873m/7/PyW X-Received: by 2002:a05:6214:20e7:b0:67f:26f3:ca56 with SMTP id 7-20020a05621420e700b0067f26f3ca56mr6441866qvk.102.1702917780513; Mon, 18 Dec 2023 08:43:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702917780; cv=none; d=google.com; s=arc-20160816; b=LvjcDi7Qm6PJpXHieWvBHfup7klY6ivttB+Lr4q2VfNygXZNfrCGOl1dQTNrDm6fe8 lqp5fo4IzSVtNdC9E7uphPqC4p/F+podYq4xX9vfnLGXQs75W778ACpGxWuu0T30CN8B Ff9IngI1CmqHhp91Iy9xuxQoY1iP9EP1y6UA2UQi0iV49rqVIMGt+10J/UxmnHl62FLX 0jeTCPwjJdozWXDqjbWm5xurzU/GCdLPJuiR1gBVXqtC9x6hFpf/YDLrxv8qsv68SJwY Am7vaYrYvZ2Ppkz1d1kA6Gz9mXZCAXkc7cz+aXcyBD9gDa1aC07ycG+JDKadOUMNIrJR 1nVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=NG2qZG/XdvJUEvAVYY7hNHtIGwP/B3fi4Ki1iIxEYOI=; fh=GuIAPge5AqPUzO98YtgljTLfAFif+Seg9qSPomKRKJQ=; b=ER38FeGtDDWWobXzZX1CmSX6fBgU+8dMgiG5qPPGy0IJIPntZOWVFVMzksZiOS2lFM Qk9yeQ/p44wGjjbmtKORZQJ0mAUvR30WDCEQqJvK8uIt2sqYNq0d5ix2uPDOX7pOrwSK rFXnTZZMYqyY7XAtU8VhbC+2zWMW/NtdFb1GUKc2YXm2A/uYY3LF0BxdsRUBbi6hwRLC E9JFCaTs/O0p2WphAM7lZlJoki9ee2wioyndVhNgtZKKryN43b7RG0f4oBorx7Nbibdz GgNO30IC9zyKzaTf1WZZHbjLj/2T0OIDTvETntHhxQdzjVouWvlpHNDKEv47k/7KLKO1 IJJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Elhm48y4; spf=pass (google.com: domain of linux-kernel+bounces-4084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v9-20020a0c8e09000000b0067f34458dfcsi3871468qvb.221.2023.12.18.08.43.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:43:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Elhm48y4; spf=pass (google.com: domain of linux-kernel+bounces-4084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 474A21C22C05 for ; Mon, 18 Dec 2023 16:43:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7EB4498B7; Mon, 18 Dec 2023 16:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Elhm48y4" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27C4B5A846 for ; Mon, 18 Dec 2023 16:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a234938c7f3so194198066b.2 for ; Mon, 18 Dec 2023 08:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702917753; x=1703522553; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NG2qZG/XdvJUEvAVYY7hNHtIGwP/B3fi4Ki1iIxEYOI=; b=Elhm48y42Vj3PsvCeytXphbT6DlOitC8/MtYyyMSkpfhVZp6oqyX6sBhqeS3pLGNav WTpwdPd0jgyTsrWLQzmVXkhglQ8/jM3k7oldmzX4RlnwS1MdZkw/NyD06JuU+uhcJAfE u3GiHrGP+JXD4JMlSXtkcqNClHYB3EcanMprk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702917753; x=1703522553; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NG2qZG/XdvJUEvAVYY7hNHtIGwP/B3fi4Ki1iIxEYOI=; b=KfjY69k/B/abZkXN+TVx8HdjEiqFTY9IsyN7JUX/LGQXn1QFE2qR/O5lUKsQ+4bbSL zu1aYYgHwgMz6HVhqZOwapU8yad+RSbj69fuNH0LUjWwovUJMDBmJF83F3uXr39IcMpl WosTr/IkifC8OtGfDOZ6cdnBlFA/hCv3KcK2tg8AfxafgKSVEtkVJy3FrhQZRV+X87rm 9oU+joAb8wLC4erq9wurkSyPnEn7g0x0/QH1vZbpZGOxXEowA9Z35JCGVNJJcEyKzwxI AvphxRjd35U3sSA05a9U0xsYrm80stJjDWPEKKfydL1WP2wU8qz0CJYkydoZ0APshrpB XfxA== X-Gm-Message-State: AOJu0Ywv+ALb+qCS4X1i5tAVMxKH4G0Dr5/rLPfr8MBZk5RvyQ7qeKKv LH6bb9k3cCrdGyj3q4NoKPiVZI2BRKsk/ojWf4y2kfjJ X-Received: by 2002:a17:906:da08:b0:a19:a19a:eadf with SMTP id fi8-20020a170906da0800b00a19a19aeadfmr7102103ejb.152.1702917753590; Mon, 18 Dec 2023 08:42:33 -0800 (PST) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com. [209.85.208.45]) by smtp.gmail.com with ESMTPSA id vx6-20020a170907a78600b00a1e852ab3f0sm14490229ejc.15.2023.12.18.08.42.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 08:42:33 -0800 (PST) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-552eaf800abso20517a12.0 for ; Mon, 18 Dec 2023 08:42:32 -0800 (PST) X-Received: by 2002:a05:6402:5216:b0:553:6de7:43d7 with SMTP id s22-20020a056402521600b005536de743d7mr111830edd.6.1702917752681; Mon, 18 Dec 2023 08:42:32 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231214152817.2766280-1-treapking@chromium.org> <20231214152817.2766280-4-treapking@chromium.org> In-Reply-To: <20231214152817.2766280-4-treapking@chromium.org> From: Doug Anderson Date: Mon, 18 Dec 2023 08:42:20 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 3/3] drm/panel-edp: Add some panels with conservative timings To: Pin-yen Lin Cc: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Guenter Roeck , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, Dec 14, 2023 at 7:28=E2=80=AFAM Pin-yen Lin wrote: > > These panels are used by Mediatek MT8173 Chromebooks, and they used to > work with the downstream v4.19 kernel without any specified delay. > Back in the v4.19 kernel, they used the "little white lie" approach, > which is making the devicetree claim a specific panel's compatible > string for many different panels. That was a common solution before the > generic edp-panel driver. > > After we uprevved the device to a newer kernel and used the edp-panel > driver, we saw multiple devices reporting warnings of using an unknown > panel and falling back to the conservative timings, which means that > they turn on/off much more slowly than they should. We tried to fill in > the timings for those panels, but we failed to find all the data sheets > for them. > > Therefore, instead of having them use the default conservative timings, > update them with less-conservative timings from other panels of the same > vendor. The panels should still work under those timings, and we can > save some delays and suppress the warnings. > > Signed-off-by: Pin-yen Lin > Reviewed-by: Douglas Anderson > > --- > > Changes in v3: > - Update the commit message. > - Collect review tag. > > drivers/gpu/drm/panel/panel-edp.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) Pushed to drm-misc-next: 7c8690d8fc80 drm/panel-edp: Add some panels with conservative timings