Re: [Freedreno] [PATCH] drm/msm/dp: Sleep properly in dp_hpd_handler kthread

2020-09-17 Thread khsieh
On 2020-09-17 15:44, Stephen Boyd wrote: We shouldn't be waiting for an event here with a timeout of 100ms when we're not in the 'timeout' arm of the if condition. Instead we should be sleeping in the interruptible state (S) until something happens and we need to wakeup. Right now this kthread

[Freedreno] [PATCH] drm/msm/dp: Sleep properly in dp_hpd_handler kthread

2020-09-17 Thread Stephen Boyd
We shouldn't be waiting for an event here with a timeout of 100ms when we're not in the 'timeout' arm of the if condition. Instead we should be sleeping in the interruptible state (S) until something happens and we need to wakeup. Right now this kthread is running almost all the time because it