msm_fb: hdmi: Add support for QS from EDID

1) Program default csc matrix if there is no
setting from the user when video pipe is initialized.
For input source image size is over 576p, select 709
yuv to rgb csc matrix, for others, select 601.

2) Add support for external quantization for RGB
   range selection.

CRs-Fixed: 549282
Change-Id: I8d60bafd1516788692c7ae3656c282b9f363cdf9
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
msm_fb: Ensure vsync int is ON before waiting for vsync

Ensure vsync interrupt is on before we wait for the
interrupt.

CRs-Fixed: 549428

Change-Id: I75c0520629762f9089c4a5d1263db0be0834abed
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
Merge "msm_fb: hdmi: Add support for QS from EDID"
Merge "msm_fb: Ensure vsync int is ON before waiting for vsync"
msm: vidc: Validate input data before processing

User controlled data needs to be validated before
processing, otherwise it may corrupt existing data
and other programming variables which may further
lead to crash in kernel space.
This change validates user specified buffer's data,
such as offset and data length, before performing
any operations in kernel.

Change-Id: I841cacd79368046964eec311750b09286e01af98
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm_fb:hdmi: Fix for suspend resume issue on HDMI

Revert the avoiding core reset changes as it is
causing regression in PM suspend resume case.

Change-Id: Id44d8e486091f700956049e0562c645f98109090
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
msm_fb:hdmi:av mute to avoid flicker

Send av mute packet to sink before power off
to avoid any noise or flicker during resolution
switch and hot plug.

Change-Id: Ieeed59e26ac71006bf4373c4dbd513e269e13801
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Merge "msm_fb:hdmi: Fix for suspend resume issue on HDMI"
Merge "msm_fb:hdmi:av mute to avoid flicker"
Merge "msm: vidc: Validate input data before processing"