drm/msm: fix sde rsc solver and amc mode sequence

Fix sde rsc solver and amc mode sequence based on
new recommended configuration. The new sequence
affects the mode-2 entry/exit, amc mode enable/
disable, clk state enable/disable and rsc init
sequence. It also adds a vsync wait requirement
after clk state entry from command state. This
patch also fixes the clock enable/disable sequence for
all rsc APIs and adds rpmh invalid and flush after
each BW vote.

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