drm/msm/sde: update autorefresh enable/disable support

Autorefresh feature enable should avoid the idle power
collapse entry and a normal frame update at the end of
autorefresh must re-enable the idle power collapse
thread. Autorefresh disable path does not need to disable
the VSYNC and turn off the feature between pp_done and
wrap-around TE from sdm845 target. Software can kickoff
the disable request and can wait for last auto-refresh
frame to finish before sending any kickoff from clients.
It avoids sde rsc HW not getting vsync case and avoids
mode-2 exit failure followed by pp_timeout.

Change-Id: If11b78f2013d8e166f31c7923027d349a89e1b5a
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
5 files changed