Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6048381rwl; Mon, 9 Jan 2023 03:37:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtSpUQj1dSJHKsgvpEBccK5uYpe1lVzq/xNuiXi1Pvm2u/wkK0lH1DqYd/sKAaHz1f8UroZ X-Received: by 2002:aa7:9156:0:b0:57e:f1a2:1981 with SMTP id 22-20020aa79156000000b0057ef1a21981mr69652659pfi.8.1673264225386; Mon, 09 Jan 2023 03:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673264225; cv=none; d=google.com; s=arc-20160816; b=mh2KatbHsCCKRS/X6h/ZiO8sRvyeUP1ODRn1smGVI0SuYxNZBMMUPRnPBNE4NcjU6j WSTT0UuzwuWDU9Tel9yjZVaMbeSVtlKO8gke+SQRlJfbuIuyYoYwInuMb2rfZO4vHipE +kVRb6rMAULywbK5AB+8Th/oL9FfavCLMRZHMAt1jwzwb/wrNRZopaH2o8oEBFr+kfvM +tIMc61Lrqirzg4ObIngOemLOo0Op/s9Ndt2vV5Sz2+dD7vnlqC40NKopYnguYEn9w8Z up6ARQAv/pZPU3clYlZzSNfJRpSKGtP7tS2DvECraFiz0ouQ4mGKcb8/qV6c7tTP/aio a9qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1Sp1TspWLtoWenH9GeK/jMvbb6wAZrxjtykfCo4AlRY=; b=pR9rkwCU4SVSFTX+MY+X83UKMldWdQCVFAx+E9C7UxgxLJLhvReAwaAFTX4OnxabBF LScsgv2kYE5D0/fuQ0Ot2+FSW4D+trWkg3Q2tNE38wKh965QW4WadVKZwM3DQ1cAFw+T HePJX6/aPB5htCsu749Q5NiqFugKOxQp/pPLcMpFeRCmw6NVxWINnS0cBPWE3a10eXkS GTi+ZZB+GJm6gyjsxm4iLb5Xn73STcYOB72n184frBA4wONHs+fM+rqiq6QBZbHNDSeP 1a7bGCMNiYj+RFlOkgsQ5NV5tjk+ego378VuNMq4pBrIMkHn4J1d4Xomy8ISpOuF7vIJ uQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X2N7MMeX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a056a00004500b00562331a3562si9362531pfk.130.2023.01.09.03.36.58; Mon, 09 Jan 2023 03:37:05 -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=@collabora.com header.s=mail header.b=X2N7MMeX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236851AbjAILZz (ORCPT + 53 others); Mon, 9 Jan 2023 06:25:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236703AbjAILZx (ORCPT ); Mon, 9 Jan 2023 06:25:53 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0028DEBC for ; Mon, 9 Jan 2023 03:25:51 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 75EE86602D06; Mon, 9 Jan 2023 11:25:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673263549; bh=AB2/l46Up7/+QV6Mp4GjW9e9vUcC9MMu+4KrzEQ5hvc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=X2N7MMeXAIaiDJfLbW7ZS07CKJKqGLJgRcvEP1SSAhXdmJMejOBphb4aLMRv5EvHE 4MfRZ8Ud07gBDIBb3GTgTndnNaV66lrJTsGlgl/zjCdhZE42CVe+IQIgdnHFwp0oGs nZpo9AuXyUwZexUyvyGSCFLFnsWxFBvKwHsvj0fVmRrWHAQiC699pIpBvjKMvluep8 1KW2j5fncfXIAUKk/4UtFnwbzEKsf5li3IdRzxfzYtsCMPruVs+EU1dg5TV6hf7Ec5 O0EqINTC1FsJe93O0GB/htqGqissi8GFqVwxYC/Bm6WUwqv3BDmD0axoG4cLm0R2KV PMdtzUno7wQqw== Message-ID: <778af306-ae24-4c49-5e93-7810fad7f8bb@collabora.com> Date: Mon, 9 Jan 2023 12:25:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 2/2] drm/panel: boe-tv101wum-nl6: Reduce lcm_reset to send initial code time Content-Language: en-US To: xinlei.lee@mediatek.com, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, matthias.bgg@gmail.com, jitao.shi@mediatek.com, thierry.reding@gmail.com, sam@ravnborg.org Cc: 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 References: <1672974321-18947-1-git-send-email-xinlei.lee@mediatek.com> <1672974321-18947-3-git-send-email-xinlei.lee@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <1672974321-18947-3-git-send-email-xinlei.lee@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 Il 06/01/23 04:05, xinlei.lee@mediatek.com ha scritto: > 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. > > 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), You said that should be greater than 6 and less than 40: perhaps on MediaTek platforms removing this delay is fine but we don't know about others - and this driver is for all platforms. To stay on the safe side you should, at this point, replace this delay with _INIT_DELAY_CMD(7); Regards, Angelo