diff options
author | chzhang <chzhang@nvidia.com> | 2010-12-15 14:29:21 -0800 |
---|---|---|
committer | Daniel Willemsen <dwillemsen@nvidia.com> | 2011-01-03 17:36:48 -0800 |
commit | d4c753a482630644148c77c076ae64e87ae9ecf6 (patch) | |
tree | 27ba12ee779224f422b4e4302cbda2382d3e4144 /drivers/video/tegra/dc/hdmi.h | |
parent | 8d8cf3ddefd69a776b28fb1a1c4be2f5d3131550 (diff) |
HDMI stereo support - kernel code changes
Signed-off-by: Chong Zhang <chzhang@nvidia.com>
Change-Id: I53eea3b14852aecd589dfbd0461258e064835cc9
Reviewed-on: http://git-master/r/11405
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/hdmi.h')
-rw-r--r-- | drivers/video/tegra/dc/hdmi.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.h b/drivers/video/tegra/dc/hdmi.h index 0189f08719fe..5f0fc2e3f73e 100644 --- a/drivers/video/tegra/dc/hdmi.h +++ b/drivers/video/tegra/dc/hdmi.h @@ -180,4 +180,35 @@ struct hdmi_audio_infoframe { #define HDMI_AUDIO_CXT_HE_AAC_V2 0x2 #define HDMI_AUDIO_CXT_MPEG_SURROUND 0x3 + +/* all fields little endian */ +struct hdmi_stereo_infoframe { + /* PB0 */ + u8 csum; + + /* PB1 */ + u8 regid0; + + /* PB2 */ + u8 regid1; + + /* PB3 */ + u8 regid2; + + /* PB4 */ + unsigned res1:5; + unsigned hdmi_video_format:3; + + /* PB5 */ + unsigned res2:4; + unsigned _3d_structure:4; + + /* PB6*/ + unsigned res3:4; + unsigned _3d_ext_data:4; + +} __attribute__((packed)); + +#define HDMI_VENDOR_VERSION 0x01 + #endif |