Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp359911rdb; Mon, 18 Sep 2023 18:41:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyXTBK546hIy4PqzMplY2yEtGzCWAqE9kSnzD+oWwEyrARY0eDNxxGQH+P8EoxuW6gFlKK X-Received: by 2002:a05:6a21:778c:b0:14d:d9f8:83ee with SMTP id bd12-20020a056a21778c00b0014dd9f883eemr12412063pzc.61.1695087682638; Mon, 18 Sep 2023 18:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695087682; cv=none; d=google.com; s=arc-20160816; b=OgddEpEz43iJ6CmVKzPp9CMv2wk8jsFIQuZLMfn2MJyh3AqSmPudle+f2aj6dNB4wR k82zrQ4gErrgUEngQX5K9y2bOOF51jiuVx+faWEMt2EGrJJJHijj2U0HTMOFpdyrH0Se DD3Hf18fJp5rEFBcxshwjIi3Ai1rkLX1fOFJotOe4d2NInNjSRm+1MUhtFNSMOd/8rKO 2xT7qtyTpdsD92SVp8EPBLMPLgWOlW/bRNSqlnxDK40s/i8IG9uZy2R25tl2h8lpglYj 91IvRpQe3UxMDf2/GtKQDqPaR9JxtbXJV5Eg9IETOqgztkwmMydwpHQbWaFyC/orssLn /SfA== 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=ACVw4rp0FamgaBhcqjxntg9e4OvnXiwruT7sOlPwj8I=; fh=wXvi82uT1gXzEZed0YaOOizEY7KTpL6HALqPcdd9RYk=; b=yhZwCzLEMRmXPbqXrTrxrKcEe5gj/VDlp9uNoqWwMqHhG4QIr9Ad+lOQyBjansfNnC nNZkHC9VugkxKU0Ed7qaWW3rxoAPH6tGhm/mJB2poj1YYzoCCPagE7WnRXJF+eHDkPd3 TQumSThUAa7vPFt6dRrGESZhaf6W9gVpFDFXMei19RBxQpPxu1mVKcoUXu6lS/MtEJeO tn1cACArPWDpUJTgWdJbW2SoBTonnmF3xsJKJ4hPQAeqI9bywlzCfqgubgqHcLcsSYHv Uqt0KLxSzhJQ1H62DdiNvaXqiJGcYYPzZQa0RrSRyoVzTHeFSgRBVDTXqetkGahXEuME eNGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UrTuqvJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ck7-20020a056a00328700b00690a77be748si1173795pfb.235.2023.09.18.18.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 18:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UrTuqvJ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 45765811B066; Mon, 18 Sep 2023 13:27:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbjIRU1p (ORCPT + 99 others); Mon, 18 Sep 2023 16:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjIRU1o (ORCPT ); Mon, 18 Sep 2023 16:27:44 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8556E116; Mon, 18 Sep 2023 13:27:38 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38IK7O5V029990; Mon, 18 Sep 2023 20:27:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=ACVw4rp0FamgaBhcqjxntg9e4OvnXiwruT7sOlPwj8I=; b=UrTuqvJ617mOQgwtl3uppx9k3PcN3wt97BS3N+LPAyqnXuanvHias2rCjRcxrCH2R0np 0HKEeGbEDTy7IfELI1b7E6lWWgzk0TU5NhEu+nHsM11fK+6D2eRNJ9rxfgxUgBZ6Q/NS Meyen7C+Jkh8N+bLiYOw0s/ZQBaFFIFq6FoTtdt+ILDEgoJMQaPwepg6wwZhzhaJfjPa 3XyLx3VkwHivbRYmCqqjRtBpA70tmm/unZEt73hL2L07GYfoPSOShij9BCB+IyHO9qCg NsTvMhbd8Rx7jQ/ShOY1iqfdm6L6TI+WnY6iX0R98tzIcEVOwVDI4ndtlS5P4RTrUWQ3 Kg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t6mts9apr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 20:27:07 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38IKR6jr005970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 20:27:06 GMT Received: from [10.110.125.66] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Mon, 18 Sep 2023 13:27:06 -0700 Message-ID: <64760d6e-10f4-4108-d467-f40289a1c6b4@quicinc.com> Date: Mon, 18 Sep 2023 13:27:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 4/9] drm/panel: nv3052c: Wait before entering sleep mode Content-Language: en-US To: John Watts , CC: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Heiko Stuebner , Chris Morgan , Jagan Teki , Paul Cercueil , Christophe Branchereau , , References: <20230918125853.2249187-1-contact@jookia.org> <20230918125853.2249187-5-contact@jookia.org> From: Jessica Zhang In-Reply-To: <20230918125853.2249187-5-contact@jookia.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: AiiOecIg-oIqUSVsEc1jm7-2K1ue1XDx X-Proofpoint-ORIG-GUID: AiiOecIg-oIqUSVsEc1jm7-2K1ue1XDx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-18_09,2023-09-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 bulkscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309180178 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 13:27:47 -0700 (PDT) On 9/18/2023 5:58 AM, John Watts wrote: > The panel needs us to wait 120ms between exiting and entering sleep. > Guarantee that by always waiting 150ms before entering sleep mode. Hi John, Same question as the last patch -- is this a fix for something? Thanks, Jessica Zhang > > Signed-off-by: John Watts > --- > drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > index 2526b123b1f5..307335d0f1fc 100644 > --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c > @@ -289,6 +289,9 @@ static int nv3052c_unprepare(struct drm_panel *panel) > struct mipi_dbi *dbi = &priv->dbi; > int err; > > + /* Wait 150ms in case we just exited sleep mode */ > + msleep(150); > + > err = mipi_dbi_command(dbi, MIPI_DCS_ENTER_SLEEP_MODE); > if (err) > dev_err(priv->dev, "Unable to enter sleep mode: %d\n", err); > -- > 2.42.0 >