Revert "video: msm: external: Limit HDMI to standard resolutions"

This reverts commit b13abbfb7f81df1960f5ad577965fa28e7153b75.
Revert "msm_fb: hdmi: Proper intialization of mhl resolutions"

This reverts commit 841c2a775c01f517157c301daf99582ac51469c2.
Revert "msm_fb: hdmi: change sysfs node permissions"

This reverts commit 308eca6f482e6dc2605ed39a1223bbec90734304.
Revert "msm_fb: hdmi: Update frame rate on resolution change"

This reverts commit d3e3d5df355797452041fefb5994abe510358bcf.
Revert "msm: hdmi-cec: bounds check cec frame size"

This reverts commit 2fcda75d74f9a15a791db9e7e5cfd1b0c48d0df6.
Revert "msm: hdmi: NUL-terminate spd data"

This reverts commit fc134deae4edd68770ab41d56db67deb05fe46b8.
Revert "msm_fb: hdmi: Use common header for resolution modes"

This reverts commit 3e305bd09397ca901938c2e27ffe54fc053ffeaf.
Revert "msm_fb: hdmi: Remove supported resolution check"

This reverts commit 73738ad9bd89c2c63624411d78800f4b701efd0f.
MHL support geeb

Conflicts:
	arch/arm/configs/flo_defconfig
	arch/arm/configs/geeb_defconfig
	arch/arm/mach-msm/lge/mako/board-mako-display.c
msm_fb: hdmi: Remove supported resolution check

The change will remove the supported resolution check while turning
on the HDMI. The supported resolution is updated on parsing EDID for
VIC and matching it with default mode in HDMI. This may fail in case
the default video mode is not available in EDID of TV resulting in
HDMI turn on failure.

Also, this check is not needed because we now have the HDMI display
pipe line check which will make sure we do not turn on HDMI if it
is not supposed to be turned ON.

CRs-Fixed: 461486
Change-Id: I09ba863cb6f56c6c5d599b91516855f0540f17c3
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm: hdmi: NUL-terminate spd data

NUL-terminate SPD Vendor name and SPD
Product description data stored in the
control structure of hdmi driver. This
avoids overflows in print messages and info
frames.

Change-Id: Ib3fcf35c6e82af18089ebea213e20b0bc0182661
CRs-Fixed: 520148
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm: hdmi-cec: bounds check cec frame size

Ensure that the frame size for the HDMI-CEC message
frame size doesn't exceed the maximum size when
reading message from userspace through sysfs interface.
This avoids potential overflow in cec send msg routine.

Change-Id: I09eb8f7a6dee64be2b504c6448b49e1da902aa47
CRs-Fixed: 520140
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm_fb: hdmi: change sysfs node permissions

Change the write permissions of sysfs nodes from UGO to USR + GRP

Change-Id: Ided5351669eb0f3cdf9ae1a0c1607ef6e76f6852
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
video: msm: external: Limit HDMI to standard resolutions

The mako can't handle higher resolutions, even if detected, resulting
in errors like the following:

[ 1090.222005] mdp4_dtv_start: <ID=129 3840x2160 (1056,88,296), (8,10,72) 297MHz>
[ 1090.228597] Rate 297000000 for tv_src_clk is greater than highest Fmax

so limit the max resolution to HDMI_VFRMT_1920x1080p100_16_9

Change-Id: I3dcb5f7a49a8413680096b5419c9fa37e9e14587