Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5429661rdb; Wed, 13 Dec 2023 08:23:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNmEonNZnOd00S8x9VNVbVLIs1ULiDSX9Sq5wdxSxlZzzwdxzTrq+ONT+gooSy/tww+let X-Received: by 2002:a05:6a20:e116:b0:190:a4d:b5cf with SMTP id kr22-20020a056a20e11600b001900a4db5cfmr5663200pzb.48.1702484634551; Wed, 13 Dec 2023 08:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702484634; cv=none; d=google.com; s=arc-20160816; b=kRq3xjOlIXUj3NuhPDjZARy1ErmiWF6a6BvGjqixQdmWDwFto/65GlkOMnUaH+Q7zB Kbf4Z0vEd2B1FZclrZKFs4Ht4Z9k94ptUO9taWPTolpJG309vDJw/WSkmj160EIyn15Q syS7Z4ZVD3VMPa0i+LqByVliLFxxVq638MTu2cAW73Vm8uK9mBXPc4Twbd4wuKW2kMlp vf8kw93A4gqAw9IPV97KSwxk8YsPV0zEiEN/+MDuqlNWbRouKQPwUtwsyR2Jpfcvd3Wr rhfkIlGYTefQF1+V7TWfH+Ju5nm57EjftlbMLzIuK4ddtZHvB4TcSv6Z+BO8U2qA32iN ul+A== 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=gsdEQAXsgtznujqAEAvqQItQWpAu92BPfR9s82X+6vY=; fh=vRoesCOlVo5as+Hk1B3UXycstsljK6mxFzUq5+paDQI=; b=OsJPC5yH5hdretVhF9uPiqUUPxrQ8AXXHWma+DoVv4nxsbXS7JcPZiLoso6p4UVGiZ fgqa0thYixcIBbQZ0KLiVzmlI53cDntvaXXXBqyIxSOwpHheiVfNBzU7PCtUGBurUGP/ WIL7ZxGH3vxB+Btga/JRLfa4UAgBYxuroGKvlBAYzKi/weIcfe3OCH3ws86sPI+Cq4fi mURTu2Ea4cayHLigJdSTcjyYjJNBb60DFRWgONErfOidnpK6jTFjwRjhOW1eu8BMA9NV N//nal+lLLtko312xAKU8pXLFOqTRm4fL7DDWKFUYu9WV+27wddEykP+4gKKTORCX1GC 1LZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=R522+d3V; 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 b20-20020a6567d4000000b005c65758770fsi9718932pgs.487.2023.12.13.08.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:23:54 -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=R522+d3V; 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 EA0C9807C6EE; Wed, 13 Dec 2023 08:23:51 -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 S233101AbjLMQXe (ORCPT + 99 others); Wed, 13 Dec 2023 11:23:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjLMQXd (ORCPT ); Wed, 13 Dec 2023 11:23:33 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC2E083 for ; Wed, 13 Dec 2023 08:23:39 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40c2c5a8150so65405425e9.2 for ; Wed, 13 Dec 2023 08:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702484613; x=1703089413; 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=gsdEQAXsgtznujqAEAvqQItQWpAu92BPfR9s82X+6vY=; b=R522+d3Vdq5SRgszO+0NY/X9khJe276EPp3QT1/8ByctFNrKh/p3CCFy73yNVRce4s 4RCW+PEO0TUeGAwhDXTO0tmODWmVS4FubQFd1VCuvvJLonZtFIs3yfonk4BFdx3GfTuy Nwml/ounwUGKjPtJP9Pq/Ehz87by623RPjtXI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702484613; x=1703089413; 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=gsdEQAXsgtznujqAEAvqQItQWpAu92BPfR9s82X+6vY=; b=cKx8wYIrmWogHREcHSeaE1sOrvDWuzFkpwvqnpjyXdl1LLa3n0THn81TNGcT6u4tLL v5/aFEnDhUFHZGaY7Ocu49ogHAoYDpXizz5lDJj4WOhvyLV3pJcqpH+tIioo9mcZtraK IEhQQpiccTFKcgrVU0BzSkCjjrHmFsfSfCcQpRCEEnTlO4CjC8/8RIznMIoKelsjGC13 zR8xoL5Y/J7FFSLdLC/1U9JD/SWBUJf9T/040DgacjNVnT/OrYCUYBsXqobCO/Tspw65 IviroS2NWopDWV6fvc9hO8kgmNjYssRp7HbP5BQNsCapN+V8MRNJK7DC6DDwyuiGDo92 pfbg== X-Gm-Message-State: AOJu0YyKgNiY1g1fvGFHP89zIjyNyXeaBgh1n6ogFOLg1U/Nr0BBsm4L QH5EgXbPFw77ugiy6Xy+7YVGbePB2zi4JYtNNZi50Qax X-Received: by 2002:a05:600c:501e:b0:40b:5e21:ec0d with SMTP id n30-20020a05600c501e00b0040b5e21ec0dmr4377342wmr.63.1702484612874; Wed, 13 Dec 2023 08:23:32 -0800 (PST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com. [209.85.128.50]) by smtp.gmail.com with ESMTPSA id vb2-20020a170907d04200b00a1f72df5617sm7655076ejc.141.2023.12.13.08.23.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 08:23:32 -0800 (PST) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40c32bea30dso74785e9.0 for ; Wed, 13 Dec 2023 08:23:31 -0800 (PST) X-Received: by 2002:a05:600c:5113:b0:40b:4221:4085 with SMTP id o19-20020a05600c511300b0040b42214085mr424914wms.1.1702484610953; Wed, 13 Dec 2023 08:23:30 -0800 (PST) MIME-Version: 1.0 References: <20231207081801.4049075-1-treapking@chromium.org> <20231207081801.4049075-5-treapking@chromium.org> In-Reply-To: From: Doug Anderson Date: Wed, 13 Dec 2023 08:23:11 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 4/4] drm/panel-edp: Add some panels with conservative timings To: Maxime Ripard , Pin-yen Lin Cc: 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]); Wed, 13 Dec 2023 08:23:52 -0800 (PST) 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 t= o > > > > sit on the lists for a little while: > > > > > > > > > > > > This is OK w/ me, but it will need time on the mailing lists before > > > > 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 pane= ls > > > > 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 mor= e > > > > correct. > > > > > > ... especially since you have to rely on the recollection of engineer= s > > > involved at the time and you have no real way to test and make things > > > clearer anymore, and we have to take patches in that are handwavy "tr= ust > > > 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. They > > 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" situation > > 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 bad= 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?