Re: [PATCH] drm/panel-edp: Use ktime_get_boottime for delays

2022-11-17 Thread Doug Anderson
Hi, On Fri, Nov 11, 2022 at 12:44 PM Doug Anderson wrote: > > Hi, > > On Thu, Nov 10, 2022 at 1:51 PM Drew Davenport > wrote: > > > > ktime_get is based on CLOCK_MONOTONIC which stops on suspend. On > > suspend, the time that the panel was powerd off is recorded with > > ktime_get, and on resum

Re: [PATCH] drm/panel-edp: Use ktime_get_boottime for delays

2022-11-11 Thread Doug Anderson
Hi, On Thu, Nov 10, 2022 at 1:51 PM Drew Davenport wrote: > > ktime_get is based on CLOCK_MONOTONIC which stops on suspend. On > suspend, the time that the panel was powerd off is recorded with > ktime_get, and on resume this time is compared to the current ktime_get > time to determine if the dr

[PATCH] drm/panel-edp: Use ktime_get_boottime for delays

2022-11-10 Thread Drew Davenport
ktime_get is based on CLOCK_MONOTONIC which stops on suspend. On suspend, the time that the panel was powerd off is recorded with ktime_get, and on resume this time is compared to the current ktime_get time to determine if the driver should wait for the panel to power down completely before re-enab