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

2018-06-22 Thread Shaikh, Azhar
x@lists.freedesktop.org >>Cc: Pandiyan, Dhinakaran ; Vivi, Rodrigo >> >>Subject: [Intel-gfx] [PATCH v3] drm/i915/psr: Lockless version of >>psr_wait_for_idle >> >>This is a lockless version of the exisiting psr_wait_for_idle(). >>We want to wait for PSR to idle

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

2018-06-22 Thread Shaikh, Azhar
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Tarun Vyas >Sent: Friday, June 22, 2018 1:59 AM >To: intel-gfx@lists.freedesktop.org >Cc: Pandiyan, Dhinakaran ; Vivi, Rodrigo > >Subject: [Intel-gfx] [PATCH v3

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

2018-06-22 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