Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5834195rdb; Thu, 14 Dec 2023 00:17:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnA19A3lmHephWO0IXLSCZPxx7LtzGgYySsHnKMvIzstFsbprj4J4NpAdKCapVWNZpMt4m X-Received: by 2002:a05:6358:60c1:b0:16c:4fe:7bfc with SMTP id i1-20020a05635860c100b0016c04fe7bfcmr10409649rwi.22.1702541846759; Thu, 14 Dec 2023 00:17:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702541846; cv=none; d=google.com; s=arc-20160816; b=W1HcyV4cYq5+RgHin+QudO6vqE+gPq4Fi4/EJ+A4yyJMKXgb2p+rfhMcKl1YdZsKgy 7qWr49wPCKAo+6l2Z26ZXUW0ygOk9JeSvXv+XHFmM2b0rDr9NGzKlEa/9TgNwb797mEj rfTZzPfX2Pv4rGdRWYGCF4OEeKDUWrJs4C9kzZWKPsbCQtX+z8yDvoi1IFjlB956dtFo XaBNwTzhCR/XbpRQ2h2GREW1gfBu3rKWqlZaWp8vTcIBl2A3jEm0JmiPfaYYEctYCqhQ LoVXZ1VzYie3yuPj0JQFMaOv3B5mwgqCL3RfK2bHdmzW0FGzlUuxjyVgjEkx+sTEhHbg z3jw== 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=0xiwwvK2LirL4zExSHvxpuvRjqDqO3bqO7fbrBZ3EcM=; fh=CnW0QgtrZKRGC3Gwp7udF7mcWDh2LQZnXzpKdJsHxCE=; b=p125WRXnDINxeLpSWTkNBGldYOFg5AA3cYJ3Mkj/EOaCYXEvhy3WE04tqcyYJ/D1LS 4pc/tOCNVscRlv9ry6LuiBWkKtMHXGS+nkbUF5pGHwt8iXJbPyWQng+sCib5M/wKSRIX 4lBt8BoW+0M8AETZBT8Ld7+/yp+UHYNmNfdKaGklK+ONLpJmBoTyi+01kxskXFJTY3ER gp5B/P4aY2JOTAU9Siu7HcOaf/Kly3GEh8uG+MqfFuEkYo5smFwZZdZsRE/2NdVEAbC3 pi4ykkAw+VmGab5Tki1kJG5Z4xjqPqy2xgTgngMTmuQQHQMXf0jDtTlrwq72sLtihmOR 6eAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=c7MWWi9V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id a3-20020a654183000000b005b9a1494637si10683981pgq.317.2023.12.14.00.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 00:17:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=c7MWWi9V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 1AF3B808EE62; Thu, 14 Dec 2023 00:17:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbjLNIRI (ORCPT + 99 others); Thu, 14 Dec 2023 03:17:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjLNIRH (ORCPT ); Thu, 14 Dec 2023 03:17:07 -0500 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A85198 for ; Thu, 14 Dec 2023 00:17:13 -0800 (PST) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-35f71face1bso6844705ab.1 for ; Thu, 14 Dec 2023 00:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702541833; x=1703146633; 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=0xiwwvK2LirL4zExSHvxpuvRjqDqO3bqO7fbrBZ3EcM=; b=c7MWWi9VU2U88ZGOkdrkaDYErG60PmNZP2phyVWGBlyfWleRNj4OEPfJmV+7Qfb5Np C7dK212NtROuU65TR+CeWYhsjzZBkNnAVgyeoaJXd9sz3TeKrC7AvOoHTtdt6bT5dK5I yVp/y/BOzD0wd6zaUtP2/XnESjlgSLL/U1Pko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702541833; x=1703146633; 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=0xiwwvK2LirL4zExSHvxpuvRjqDqO3bqO7fbrBZ3EcM=; b=JlTAVTNoCpXah+DzwMkMMn7ZA7QpyqUw2EI6uADTVrt8eLulzmmq36Kdb/ISvtN0ez uH21ZXWWilp+dXfGKMWUD+iKnnanJG3du1+r/Jphf8vJ/s9rumELCYlhDCwheuHT9wBb yANfgj3UKk1MVm8eHpi4gZJL4anjlyZ3ZRLhWTudkiTUnxXuZbChqls++r56+xMeHu8T /zV5u3ua1/vle6JcDMoKeu/ZZmAlDAwK3lJLPvDmjn8/pWjPmajQXeokes1SoNRO2wFt vlZfBVzmRjw5coIZIft41v0TlSpyKXcUOD6UOh07FmltQZxjtvf4fgfePpyA/iWY4hYX +7cg== X-Gm-Message-State: AOJu0YwmHPchIv70JnVTg9BRTwJSgWNbAQwWBbN1Kr+DlYdNEmtv5bjF zx8fsFCZbxHoeWTXfLNB4jVOTH/PNN71VcT5kISgnw== X-Received: by 2002:a05:6e02:1ba7:b0:35f:741a:7900 with SMTP id n7-20020a056e021ba700b0035f741a7900mr2960084ili.15.1702541832782; Thu, 14 Dec 2023 00:17:12 -0800 (PST) MIME-Version: 1.0 References: <20231207081801.4049075-1-treapking@chromium.org> <20231207081801.4049075-5-treapking@chromium.org> In-Reply-To: From: Pin-yen Lin Date: Thu, 14 Dec 2023 16:17:01 +0800 Message-ID: Subject: Re: [PATCH v2 4/4] drm/panel-edp: Add some panels with conservative timings To: Doug Anderson Cc: Maxime Ripard , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 14 Dec 2023 00:17:24 -0800 (PST) On Thu, Dec 14, 2023 at 12:23=E2=80=AFAM Doug Anderson wrote: > > Hi, > > On Wed, Dec 13, 2023 at 7:34=E2=80=AFAM Maxime Ripard wrote: > > > > > > > Repeating my comments from v1 here too, since I expect this patch= to > > > > > sit on the lists for a little while: > > > > > > > > > > > > > > > This is OK w/ me, but it will need time on the mailing lists befo= re > > > > > landing in case anyone else has opinions. > > > > > > > > Generally speaking, I'm not really a fan of big patches that dump > > > > whatever ChromeOS is doing ... > > > > > > > > > Specifical thoughts: > > > > > > > > > > * I at least feel fairly confident that this is OK since these pa= nels > > > > > essentially booted without _any_ delays back on the old downstrea= m > > > > > v4.19 kernel. Presumably the panels just had fairly robust timing > > > > > controllers and so worked OK, but it's better to get the timing m= ore > > > > > correct. > > > > > > > > ... especially since you have to rely on the recollection of engine= ers > > > > involved at the time and you have no real way to test and make thin= gs > > > > clearer anymore, and we have to take patches in that are handwavy "= trust > > > > us, it's doing the right thing". > > > > > > > > I'd really prefer to have these patches sent as they are found out. > > > > > > It's probably not clear enough from the commit message, but this isn'= t > > > just a dump from downstream 4.19. What happened was: > > > > > > 1. Downstream chromeos-4.19 used the "little white lie" approach. The= y > > > all claimed a specific panel's compatible string even though there > > > were a whole pile of panels out there actually being used. Personally= , > > > this was not something I was ever a fan of (and I wasn't personally > > > involved in this project), but it was the "state of the art" before > > > the generic panel-edp. Getting out of the "little white lie" situatio= n > > > was why I spent so much time on the generic edp-panel solution > > > upstream. > > > > > > 2. These devices have now been uprevved to a newer kernel and I > > > believe that there were issues seen that necessitated a move to the > > > proper generic panel-edp code. > > > > > > 3. We are now getting field reports from our warning collector about = a > > > whole pile of panels that are falling back to the "conservative" > > > timings, which means that they turn on/off much more slowly than they > > > should. > > > > > > Pin-yen made an attempt to search for panels data sheets that matched > > > up with the IDs that came in from the field reports but there were > > > some panels that he just couldn't find. > > > > > > So basically we're stuck. Options: > > > > > > 1. Leave customers who have these panels stuck with the hardware > > > behaving worse than it used to. This is not acceptable to me. > > > > > > 2. Land Pin-yen's patch as a downstream-only patch in ChromeOS. This > > > would solve the problem, but it would make me sad. If anyone ever > > > wants to take these old laptops and run some other Linux distribution > > > on them (and there are several that target old Chromebooks) then > > > they'd be again stuck with old timings. > > > > > > 3. Land a patch like this one that at least gets us into not such a b= ad shape. > > > > > > While I don't love this patch (and that's why I made it clear that it > > > needs to spend time on the list), it seems better than the > > > alternatives. Do you have a proposal for something else? If not, can > > > you confirm you're OK with #3 given this explanation? ...and perhaps > > > more details in the commit message? > > > > I don't have a specific comment, it was more of a comment about the > > process itself, if you write down what's above in the commit message ..= . > > Pin-yen: can you take a whack at summarizing some of the above in the > commit message and sending out a v3? Sure I'll do that in v3. Sorry for not including enough details in the original commit message. Pin-yen