drm/msm: add YUV format support

Enable YUV formats for current resolution if supported.
Also, chooses the best mode for turning on the
sink based on sink source capabilities. This can
be either RGB or YUV. For YUV formats adjust
the pxl clock and also configure the relevant
hardware blocks in SDE.

Change-Id: I48a36a991c194badb3ddca4bbf5bcbc21d838b8f
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Chirag Khurana <ckhurana@codeaurora.org>
6 files changed