Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4200203rwl; Sat, 7 Jan 2023 13:05:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXtsssOYyGSEpjTs9H3R0382tAVnXTaNJ06ROijre76Qi4oQksQgZFGBBG/6L4o4gQH2Go/X X-Received: by 2002:a05:6402:4518:b0:45c:835c:eab7 with SMTP id ez24-20020a056402451800b0045c835ceab7mr49618963edb.37.1673125536845; Sat, 07 Jan 2023 13:05:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673125536; cv=none; d=google.com; s=arc-20160816; b=Bf5JWootureHzIRdnIqU7LRnz488ijRfRkxpnvARucW9fcrD7bVC3sRiot2Yd2Mll0 WYaDQE0XuN2Dgp5NQAllnM3MQvMKwyNg6ORTYmwno8uvsDJswHZElcGMhG5l3h0bILm7 ge9jZZB2ILBUcQdJ/GDX0J3vUjYk8/GNIU1ZM2jmJmAQ8VrFcAfQ72leCqa4jJ6rv+5b 6DGPq1Vp0yJKmt4QS5R1wb/KmkZj6w4qdlX4BgBWSf3BBcWSWoI1434lxNC4mnS+VGKv gVdgjf/kH0dABwisSZnj/1Z0CRwwaFt5cY2+THpQxTOd0GDJAtOUX1PF1fx/oZewyyN5 ydvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=zNjKwUpl4MAZri6WkLaSE7g3L6zmbqPHmA9ZJ9Bzi1w=; b=OlQn7A0VTB9ldSWkhOTDdBnM7ciG/22gKqMYe7qhwNxUIY9g7suIhY2WRwoszM8M5D D+Af1Ek0T8LTi94JDUiJqkT2RXjLO4YhDp4u4rs34f74B1WNF0YpAeaQAh1wMjXAcqVd DAaBtNHngjMODhSXOWxqu9IoJyyCrkEPdq+3fFrc903zA64a7gyD5JIDiZvpacRY6cR9 UchuV8rJ7QxbPQjsrPRQTxJoFz8aLcgFl3x1dqq9o6c/9fgcogpt9N3VVdcNzy4b+yom SboBeaD+uDXuJYFXV/RbYAh/RyVmsVEeb8X+cMTskwD4lnRWMtqx88VmAZ/YzhfmrGLO DMuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=P4J8i7Cu; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2 header.b="/5wL/FcJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm24-20020a05640222d800b0046aff5119c6si4815136edb.428.2023.01.07.13.05.24; Sat, 07 Jan 2023 13:05:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa2 header.b=P4J8i7Cu; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed2 header.b="/5wL/FcJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232865AbjAGUbJ (ORCPT + 53 others); Sat, 7 Jan 2023 15:31:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232521AbjAGUbG (ORCPT ); Sat, 7 Jan 2023 15:31:06 -0500 Received: from mailrelay5-1.pub.mailoutpod2-cph3.one.com (mailrelay5-1.pub.mailoutpod2-cph3.one.com [IPv6:2a02:2350:5:404::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D862437251 for ; Sat, 7 Jan 2023 12:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=zNjKwUpl4MAZri6WkLaSE7g3L6zmbqPHmA9ZJ9Bzi1w=; b=P4J8i7CuwvpmkbZ5a1nsowUUAbTvKNu9VrELvmrf8z8IsVdysY8xVbHJcPji5OUGYY0mKyPRUJK0L q2eAqJpoU0YYTBa+th94PE+xy0++ga2HdaVh1ETK7UcQU+lelpnPe9vI5PsUX0L1//kAhIyQHinC1y CIpouzk/o+Uu5lUG4zv0OgJ9In2MISZimMN4WtAyzVdlh6I29vgHEk/FEU7v3IXCnCDW0OwDKy07JV bdbQfulVL4QbiZLfT+5Ypo7a2fe2AESQ5FwLqCvfmudujtG5DLxVUmkPjNrfNke8tGVTvbMqgCHaGJ kxnWoTN7fVeIHS+iOkJR9R/v1IL3LEw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed2; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=zNjKwUpl4MAZri6WkLaSE7g3L6zmbqPHmA9ZJ9Bzi1w=; b=/5wL/FcJR0pGFXvug0CaJFWWqZOoKGhwrv3hW6ZqandXERIJZ+x5mtwNcs7aE5hZJwKV/R70kMOUB nLj6Px/CA== X-HalOne-ID: 328201d2-8eca-11ed-857d-7703b0afff57 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay5 (Halon) with ESMTPSA id 328201d2-8eca-11ed-857d-7703b0afff57; Sat, 07 Jan 2023 20:31:02 +0000 (UTC) Date: Sat, 7 Jan 2023 21:31:01 +0100 From: Sam Ravnborg To: xinlei.lee@mediatek.com Cc: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jitao.shi@mediatek.com, thierry.reding@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH 2/2] drm/panel: boe-tv101wum-nl6: Reduce lcm_reset to send initial code time Message-ID: References: <1672974321-18947-1-git-send-email-xinlei.lee@mediatek.com> <1672974321-18947-3-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1672974321-18947-3-git-send-email-xinlei.lee@mediatek.com> X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, URIBL_BLACK autolearn=no 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 On Fri, Jan 06, 2023 at 11:05:21AM +0800, xinlei.lee@mediatek.com wrote: > From: Xinlei Lee > > Since the panel spec stipulates that the time from lcm_reset to DSI to > send the initial code should be greater than 6ms and less than 40ms, > so reduce the delay before sending the initial code and avoid panel > exceptions. The changelog says "reduce the delay", but the patch removes the delay. Are there other delays that make sure the "greater than 6 ms" is OK? Sam > > Fixes: a869b9db7adf ("drm/panel: support for boe tv101wum-nl6 wuxga dsi video mode panel") > Signed-off-by: Xinlei Lee > --- > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > index 857a2f0420d7..f0093035f1ff 100644 > --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > @@ -780,7 +780,6 @@ static const struct panel_init_cmd inx_hj110iz_init_cmd[] = { > }; > > static const struct panel_init_cmd boe_init_cmd[] = { > - _INIT_DELAY_CMD(24), > _INIT_DCS_CMD(0xB0, 0x05), > _INIT_DCS_CMD(0xB1, 0xE5), > _INIT_DCS_CMD(0xB3, 0x52), > -- > 2.18.0