Re: [Intel-gfx] [PATCH] drm/i915/psr: Lockless version of psr_wait_for_idle

2018-06-21 Thread Dhinakaran Pandiyan
On Thu, 2018-06-21 at 18:03 -0700, Tarun Vyas wrote: > This is a lockless version of the exisiting psr_wait_for_idle(). > We want to wait for PSR to idle out inside intel_pipe_update_start. > At the time of a pipe update, we should never race with any psr > enable or disable code, which is a part o

[Intel-gfx] [PATCH] drm/i915/psr: Lockless version of psr_wait_for_idle

2018-06-21 Thread Tarun Vyas
This is a lockless version of the exisiting psr_wait_for_idle(). We want to wait for PSR to idle out inside intel_pipe_update_start. At the time of a pipe update, we should never race with any psr enable or disable code, which is a part of crtc enable/disable. So, we can live w/o taking any psr loc