[PATCH v4 2/5] drm: panel: simple: Defer unprepare delay till next prepare to shorten it
Sam Ravnborg
sam at ravnborg.org
Sun Nov 29 22:11:32 UTC 2020
Hi Douglas,
On Mon, Nov 09, 2020 at 05:00:56PM -0800, Douglas Anderson wrote:
> It is believed that all of the current users of the "unprepare" delay
> don't actually need to wait the amount of time specified directly in
> the unprepare phase. The purpose of the delay that's specified is to
> allow the panel to fully power off so that we don't try to power it
> back on before it's managed to full power down.
>
> Let's use this observation to avoid the fixed delay that we currently
> have. Instead of delaying, we'll note the current time when the
> unprepare happens. If someone then tries to prepare the panel later
> and not enough time has passed, we'll do the delay before starting the
> prepare phase.
>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>
Applied to drm-misc-next.
Sam
More information about the dri-devel
mailing list