Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3072379pxu; Sun, 29 Nov 2020 14:16:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPD/8rcJeek7F+nX1Fqr3HAeZlDPAveLIDfhMov1EItVpoWhr5voR1gMfVikIryV/Iq7E0 X-Received: by 2002:a17:906:7f10:: with SMTP id d16mr18191053ejr.104.1606688177832; Sun, 29 Nov 2020 14:16:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606688177; cv=none; d=google.com; s=arc-20160816; b=tjxQOCVkCIIkglsT93yXB6yG+rMA2w+QRy8bjajilzB0ACNgKM1vTz2p+TCrxApDub lOmnipwtACMx8A6wxZsLmUBqSCjVSes+/v9ru/tW5EJaWyUfnqGrINNUmuak7hEpqnEN vVeBYYgOyOjipaxa5CiP0pR8MQcehMDEnBlv/oAV8rWV2ml1Mny93dLmo8j3OVx8XvCJ Bft8Ehqhebvsay3nR/bODmgkQ9mKW4LXyDKUb1shDUN8skV/eO9LKRaeHJZ+hRUtmbvT 35Q32hp0tTEHPlxQp5S9trrz0dS8i0RdG+SB5TXEsn5svxXHvE+kNpnYJAUpQm95A12L eC6A== 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; bh=ONW4GjYpIbMZS17OXo6ZNnmZPBMEUpfXrctf047eByY=; b=seN4fDLNurQ3g8bnWZK3+60FMJHSWXFoQJrzXVa4DvFeQx+nPgy/jJN7TyJvix3RGL 305VPBL7R6p3ci2lOERCyLn0xEIG0f0razqpGwG7nm+dQZmftgwe1SC8Gvzt7ZMqoO+u FlFVpYvO6mirEWZgoZacl+uKe9mlVAHOE39R5XA3PtwU5Job2VfYTsyd9Y93WO1ZASHU BXaC376QulYsYDD+NOqd5fckdwoJ9dyBD6IOvdLoKWgdmuJeO5sCccuYXBTKgaJ+gMA3 y+DNh0yDwVialY1aR4rfRPU+lQIkc4jGIyRDdH9uwGpAIpwdWI3m61ih2KWpR7qfSTjE /IYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si7554445eji.561.2020.11.29.14.15.55; Sun, 29 Nov 2020 14:16:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728181AbgK2WMr (ORCPT + 99 others); Sun, 29 Nov 2020 17:12:47 -0500 Received: from asavdk3.altibox.net ([109.247.116.14]:41382 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbgK2WMq (ORCPT ); Sun, 29 Nov 2020 17:12:46 -0500 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id A968320031; Sun, 29 Nov 2020 23:11:59 +0100 (CET) Date: Sun, 29 Nov 2020 23:11:58 +0100 From: Sam Ravnborg To: Douglas Anderson Cc: Thierry Reding , robdclark@chromium.org, David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v4 3/5] drm: panel: simple: Allow specifying the delay from prepare to enable Message-ID: <20201129221158.GJ1162850@ravnborg.org> References: <20201109170018.v4.1.Icaa86f0a4ca45a9a7184da4bc63386b29792d613@changeid> <20201109170018.v4.3.Ib9ce3c6482f464bf594161581521ced46bbd54ed@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201109170018.v4.3.Ib9ce3c6482f464bf594161581521ced46bbd54ed@changeid> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=Ibmpp1ia c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=cm27Pg_UAAAA:8 a=4Av5kLI2NlvhjzHu5tUA:9 a=CjuIK1q_8ugA:10 a=xmb-EsYY8bH0VWELuYED:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Douglas, On Mon, Nov 09, 2020 at 05:00:57PM -0800, Douglas Anderson wrote: > On the panel I'm looking at, there's an 80 ms minimum time between HPD > being asserted by the panel and setting the backlight enable GPIO. > While we could just add an 80 ms "enable" delay, this is not ideal. > Link training is allowed to happen in parallel with this delay so the > fixed 80 ms delay over-delays. > > We'll support this by logging the time at the end of prepare and then > delaying in enable if enough time hasn't passed. > > Signed-off-by: Douglas Anderson Applied too. Sam