Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1854233rdb; Thu, 7 Dec 2023 10:24:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIM7Q2qG0EYSaCxiThGJrU8QVJZUWxLJh9b8oQaDnM4NNXDFVf0z3PADeQxkT760Qk118L X-Received: by 2002:a17:90a:4dce:b0:286:6cc1:3f1c with SMTP id r14-20020a17090a4dce00b002866cc13f1cmr3195956pjl.83.1701973462820; Thu, 07 Dec 2023 10:24:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701973462; cv=none; d=google.com; s=arc-20160816; b=C6iMOIx6XQ1wucbkHvZFtyFNYh73ZofFJJy03w7A4OuK1N7hzbnnaUuWPk3YjkOG95 4AUrBkmKFzXw9ASVFDjc4EfHJD38fcK4ukFbN3D7OOZNY1gTv+gTUP33ZoahgQCenZB3 3110O2143fEw7D7smGykmcFrt25RffUTW11e9DOj6kVnP/qp629CMBlTQ2y/1Kg3Wz96 Kjrrkss/GzRr19WC7mwO8A/FcqEC14dB2Dsx01vkM7HGEN2kaktpdGUeK1Hjkzh5TwCm pDzprFSvIda0+VLNRnk2aUIggMjQkFsfEp//mbO+lNKBo6QeJoA3Eary1ujCcNk3XsB6 80HQ== 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=hRjWkx56RHR1r5cAwUPqSGXDNsuGHCsvk8l76pBIe10=; fh=OnPcHzoJhc3unGGCCpgOI4ey5b/ikx7UNfeuk0JONKk=; b=dM6uhm7SKPpx/m7WRK8PIib5XWnNnQpD09B6TR3JqI8QXDrgUKbrta7SZqK+4FBY/v VP9twtsqSrXOaCXxivNObDaBQEhvHsfC43mhtDJk8yK7dfRudSfzvEWeAJhMHfrNgENq uWvLH5Gb2IPh5IDDw//tqGmJrYNYsptSjWOv/1ust27NSYwPoep4eZ12f1aN14JzzT0n 17lEqcHs8kBXFXGLL5d6fPHqRWRnQVRKhDriOcRudSP6tJnLU+t0vQZvsZzksSr0Q9zj rREO8LIdzDB/kFPo3gtjM5dKeC01QwZFcoMwRZkWPpgdukf0ovt9VdbSJgL0n3gssAvl 6SCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lsS7VigT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x4-20020a17090a9dc400b00286530bddecsi1427147pjv.105.2023.12.07.10.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 10:24:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lsS7VigT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id DE009802C7D4; Thu, 7 Dec 2023 10:24:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443737AbjLGSYI (ORCPT + 99 others); Thu, 7 Dec 2023 13:24:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443688AbjLGSYF (ORCPT ); Thu, 7 Dec 2023 13:24:05 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B8AE0 for ; Thu, 7 Dec 2023 10:24:11 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-548f853fc9eso1726805a12.1 for ; Thu, 07 Dec 2023 10:24:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701973449; x=1702578249; 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=hRjWkx56RHR1r5cAwUPqSGXDNsuGHCsvk8l76pBIe10=; b=lsS7VigTxlTl7B1gH9qKau2sYxd3c57rqG5xdDTbB3WBwIyK8vWb0lbeKS+u6DJQhO 39o8lbtNmWvysJvRgew+hAKve0MO7bondvlZ70kEDEUq1/MZPBBU92Rg6WEyThL5TM3o ujT4Pt0idVw5/qTHC6BM6H17pG+GWiAKUiEl4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701973449; x=1702578249; 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=hRjWkx56RHR1r5cAwUPqSGXDNsuGHCsvk8l76pBIe10=; b=H68bIK9LAf7WxSAJBThCBf7VfPYg0fQqFTugna2OWMHsQI83k/Lv58NjVtp+TvY3Vf Q1OUuqXukNSmQDrzBKcyaNNE2m/oL6nDZzomopMKxzu/BuGX48HOFzxdcovIKO+DS46b Yqp28BaW+hT0KeUymllwdQlwcbpIYaChIoDSSdDC0Daic8xeF46WKaSDED4QG/FOlf5j QyGk1GlTiWHHhcJ2kaHlWcyuec2wfzaiLWLQmk6SFeWb4vryUcoxlH15cDC8ABjAZqvc a85XA1jRCfcL2Qj2H0IAPWd8l1WGHCxDzSbjbHxVpQwR6uDlzAdfPor3dM6ziE1WRJtB S2MA== X-Gm-Message-State: AOJu0YzgGeAuaEywPhheKOhvJ1ocgV6CrQxC72c7yDyqgBayivCYNueH Tp1TorxgGvLM1R7Y5aqwJ8dsOZuAxtwGoN2cS0lzvBLb X-Received: by 2002:a17:906:203:b0:a1d:da25:1ad5 with SMTP id 3-20020a170906020300b00a1dda251ad5mr704767ejd.162.1701973449078; Thu, 07 Dec 2023 10:24:09 -0800 (PST) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com. [209.85.128.41]) by smtp.gmail.com with ESMTPSA id hd10-20020a170907968a00b009fcb5fcfbe6sm49592ejc.220.2023.12.07.10.24.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Dec 2023 10:24:08 -0800 (PST) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40b367a0a12so3775e9.1 for ; Thu, 07 Dec 2023 10:24:06 -0800 (PST) X-Received: by 2002:a05:600c:54cf:b0:40c:2399:d861 with SMTP id iw15-20020a05600c54cf00b0040c2399d861mr175294wmb.6.1701973446020; Thu, 07 Dec 2023 10:24:06 -0800 (PST) MIME-Version: 1.0 References: <20231207081801.4049075-1-treapking@chromium.org> <20231207081801.4049075-5-treapking@chromium.org> In-Reply-To: <20231207081801.4049075-5-treapking@chromium.org> From: Doug Anderson Date: Thu, 7 Dec 2023 10:23:53 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 10:24:20 -0800 (PST) Hi, On Thu, Dec 7, 2023 at 12:18=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 > > --- > > (no changes since v1) > > drivers/gpu/drm/panel/panel-edp.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) Reviewed-by: Douglas Anderson 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 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.