video: tegra: dc: sysfs for HDMI AVI content type
authorAhung Cheng <ahcheng@nvidia.com>
Tue, 14 Jun 2016 04:43:47 +0000 (12:43 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 15 Jul 2016 15:39:11 +0000 (08:39 -0700)
commit274ce908195c891773cdf9de1c2f877d80c87ca1
tree3261e482311d244294063dd36077af4912f55443
parent373ecdd0ce46cf0552989ec2a77d4f9593727a36
video: tegra: dc: sysfs for HDMI AVI content type

Updated avi infoframe would be picked up by HW for next frame.

Sysfs node:
/sys/devices/platform/host1x/tegradc.1/hdmi_config/it_content_type
Value:
        0x0 = HDMI_AVI_IT_CONTENT_GRAPHICS,
        0x1 = HDMI_AVI_IT_CONTENT_PHOTO,
        0x2 = HDMI_AVI_IT_CONTENT_CINEMA,
        0x3 = HDMI_AVI_IT_CONTENT_GAME,
        0x4 = HDMI_AVI_IT_CONTENT_NONE, (Default)

bug 1772096

Change-Id: I9c9f79dcf0b6a9ff192ad0d457c55f38e21c2cfd
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/1164025
(cherry picked from commit 708f5ad20644a2946f3e936e8c267333294d6408)
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/1170952
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dc_sysfs.c
drivers/video/tegra/dc/hdmi2.0.c
drivers/video/tegra/dc/hdmi2.0.h