drm/msm/sde: modify RM to commit hw in check_only phase

SDE RM is modified to maintain hw allocation as part of
atomic_check_only phase. It ensures that if a topology is
checked and supported, the hw is maintained in a staging
state between check_only and commit phase. Validated rm state
cleanup for is called as part of crtc destroy state.

Change-Id: Ibdf548e01766d26151a26aee511c518c6a641f63
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
4 files changed