Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp469053rdb; Tue, 5 Dec 2023 10:10:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVh5SpPXcbH5wruJEQNU4O4jsEELIVuG1ZGll3WE6saFLKCyn9TkSntTgr88K1v3w1Eas+ X-Received: by 2002:a05:6a00:1504:b0:6ce:2731:5f84 with SMTP id q4-20020a056a00150400b006ce27315f84mr1487036pfu.67.1701799803751; Tue, 05 Dec 2023 10:10:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701799803; cv=none; d=google.com; s=arc-20160816; b=a50AwI0toCfi9qEKwDtxc0ElvqHHXCNlZK38bU6Lk608TabclXuCo/Vskv7pyhJkWx 9VxrV7IgA1YxUPwK4fSA/HumKzswTKzeIMiVZmDX1tvErgzuAcRXR0ardpreDBRXAyKY IFz02IM2qfA/+qgT0r6Fmekpt5kWsnLhBEr2DDFLffZOXS0nv/EaxBsqw0/3T/zU0eMk hqSDH1E2v4f+bUeKKQHcI+p+H+sq8onMlSazOgWrPlBEJfgtP8dKipr0QUJPPjzCYhzk chqtr0440ZAQxXSyT34oI+eVhYZhhAguZjUXNqzu+4HdDea4f0ZbvLthG0fjT5J4bltj MA1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=BRQn44/aTuYgsI6zHupZ2XRpsR2rUlkoEa03YW7tLjw=; fh=OnPcHzoJhc3unGGCCpgOI4ey5b/ikx7UNfeuk0JONKk=; b=q8yEjB+DToCk3x8P8lLEhwkrOFnsITBJ166ffQpkMFOAFVbJc16Map8xKcfy7mZk7/ KufqZ4uL1gMONT61g8u265njdC8Hi4xtG/3B/IDCmsgVEvF6y0c0vKfbZnzKcEnZbEEC aix7MEiOUmxR878T44d474YeHrZ9EtSiCgxc4cEqpJITgiwhdyaD1oUMh/T2km08xUWn J3wjH6IRaPiG0mWE6P/b1C/KA3bZ70i3WHi3S+HQ6qeyZf4BRGLrG4lk+dP0TxhL/MzP ebUynzv6mxZf1wtfhyVJTqjlHr0Btx0gb30EArImUeD+r/U6GnKlydpsYLw0cOVPLb/P lBZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Od9eYWKw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k140-20020a628492000000b006cdff067bacsi233939pfd.214.2023.12.05.10.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 10:10:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Od9eYWKw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 2C2C280A2807; Tue, 5 Dec 2023 10:10:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345566AbjLESJq (ORCPT + 99 others); Tue, 5 Dec 2023 13:09:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjLESJo (ORCPT ); Tue, 5 Dec 2023 13:09:44 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06B7DA5 for ; Tue, 5 Dec 2023 10:09:51 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a00191363c1so822023766b.0 for ; Tue, 05 Dec 2023 10:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701799787; x=1702404587; 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=BRQn44/aTuYgsI6zHupZ2XRpsR2rUlkoEa03YW7tLjw=; b=Od9eYWKwd/LhOH+mgkF38wO30pmtJR154a/3hjpHq1yIi90zyJfdThVhX4iSX8659/ F5MoA9gOz81RFq5wPFSyhmhp7dTLmF5jMcvDSEnaiahr4NU0clSNntsafiFN4fLAvWnF jEMFulpHeG/GxZ832a6BHOPWbLloLaDIntAok= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701799787; x=1702404587; 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=BRQn44/aTuYgsI6zHupZ2XRpsR2rUlkoEa03YW7tLjw=; b=uI74ojXVrp48EUJr9GPJTaacmmD7fGWB3skyMI03Y0ARLcTOoNfDpBtWswM9IhY3Ne v+nOnRnp5TInDKLu1OseFd2u8NPFe0jUukAl2d8yyQuAxNUoXDzZsWxV8w2WnCyno1xL UZf+YduV0ZELirwQhxV/4s4TU4jXKWoX5LIOaRibh4gevUezl2ACFs7rmqu+9SN7szNK 3MS8IVNlLQCAIqAk3D1/4sKCjdh4NUrydKC4nVpmObbkujo1DmSLDehlfH/wXA/erK2X iPAvjRM4U7FLJ/iM4F0T509iGz5BaiihEG8cP6Li75KyJj2pPURE5ViM7ym2tdeoN+5p wwiQ== X-Gm-Message-State: AOJu0YxWrdPNYsOrwC2uPrSwZfYfB571GB+6i5WvrGA7w5tuTebtHHTq fIW/RdZYv0njwEJgNDuV6BiFG4sW1meouha0as7yXSpD X-Received: by 2002:a17:906:7d48:b0:a1c:d52f:e242 with SMTP id l8-20020a1709067d4800b00a1cd52fe242mr324614ejp.271.1701799787293; Tue, 05 Dec 2023 10:09:47 -0800 (PST) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com. [209.85.208.49]) by smtp.gmail.com with ESMTPSA id p4-20020a170906140400b00a1b61096ce6sm3766261ejc.129.2023.12.05.10.09.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Dec 2023 10:09:46 -0800 (PST) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-54c77d011acso348a12.1 for ; Tue, 05 Dec 2023 10:09:46 -0800 (PST) X-Received: by 2002:a05:6402:22c4:b0:54c:f4fd:3427 with SMTP id dm4-20020a05640222c400b0054cf4fd3427mr221749edb.7.1701799786563; Tue, 05 Dec 2023 10:09:46 -0800 (PST) MIME-Version: 1.0 References: <20231205123630.988663-1-treapking@chromium.org> <20231205203536.4.Iaa6257fcf9e7fe3ca88c50ab6e5aa3fbf55266d0@changeid> In-Reply-To: <20231205203536.4.Iaa6257fcf9e7fe3ca88c50ab6e5aa3fbf55266d0@changeid> From: Doug Anderson Date: Tue, 5 Dec 2023 10:09:34 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] 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 , linux-kernel@vger.kernel.org, Guenter Roeck , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 05 Dec 2023 10:10:01 -0800 (PST) Hi, On Tue, Dec 5, 2023 at 4:37=E2=80=AFAM Pin-yen Lin = wrote: > > These panels are used by Mediatek MT8173 Chromebooks but we can't find > the corresponding data sheets, and these panels used to work on v4.19 > kernel without any specified delays. > > 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 > > --- > > drivers/gpu/drm/panel/panel-edp.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) This is OK w/ me, but it will need time on the mailing lists before landing in case anyone else has opinions. Specifical thoughts: * I at least feel fairly confident that this is OK since these panels essentially booted without _any_ delays back on the old downstream v4.19 kernel. Presumably the panels just had fairly robust timing controllers and so worked OK, but it's better to get the timing more correct. * This is definitely better than the very conservative timings and the WARN_ON splat. * I don't love the "Unknown" string, but it doesn't do anything other than print to dmesg anyway and at least it conveys to anyone else reading the table that the timings may not be quite as tight. -Doug