drm/msm: add display rsc support

A display rsc supports the active and sleep
voting for primary command mode panel and
amc mode for primary video mode panel. The current
display rsc hardware supports mode0, mode1
and mode2 configuration based on current usecase.
Current patch handles different concurrency
usecase also like primary only, primary + secondary,
primary update only(inline rotation). It supports
these concurrency scenarios by enabling or overriding
the solver mode on display rsc. The mode2 entry/exit
is controlled trough different client states.

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