summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/edid.c
AgeCommit message (Collapse)Author
2012-04-08Revert "video: tegra: dc: Disable 1080p stereo support"Andrija Bosnjakovic
This reverts commit 75009bc2b1a0a2d2efbe1d166647e789b8a1b9f1. In order to work around bug 869099, this mode has been temporarily disabled. Since the bug is not so visible, enable again. Change-Id: Ie71dac4ecf620cd96796e2fde361b45dc7141497 Reviewed-on: http://git-master/r/92157 Reviewed-by: Alok Ahuja <alahuja@nvidia.com> Reviewed-by: Aleksandar Odorovic <aodorovic@nvidia.com> Reviewed-by: Dhiren Bhatia <dbhatia@nvidia.com> Reviewed-by: Andrija Bosnjakovic <abosnjakovic@nvidia.com> Tested-by: Andrija Bosnjakovic <abosnjakovic@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-02-21video: tegra: dc: use side-by-side stereo HDMI modeAndrija Bosnjakovic
Add a config option to limit HDMI stereo 3D output to 74.25MHz pixel clock. When this option is set, substitute the frame pack stereo modes for side-by-side (half) left-right stereo modes to meet this pixel clock restriction. By default, do not use it (use frame packed HDMI mode as usual). Bug 938807 Change-Id: I2ce2ca72cbb15ac1939af0f3386dd23650262435 Reviewed-on: http://git-master/r/84252 Reviewed-by: Andrija Bosnjakovic <abosnjakovic@nvidia.com> Tested-by: Andrija Bosnjakovic <abosnjakovic@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2011-12-15tegra: HDMI: add underscan capability exposure via sysfsVictor Ryabukhin
TVs/monitors which do not support underscan will crop HDMI picture. Underscan information might be needed in userspace to adjust HDMI resolution so that the picture will be shown correctly on such devices. Bug 911580 Bug 912187 Change-Id: I1eec810d860e13dafef895cb85b32fd8187a4e02 Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-on: http://git-master/r/68616 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-11-30video: tegra: dc: Disable 1080p stereo supportDhiren Bhatia
Temporarily disable support since it appears the modeset to 1080p takes longer than anticipated. Re-enable once issue has been fixed. Bug 869099 Reviewed-on: http://git-master/r/#change,53891 (cherry-picked from change Change-Id: Ifa08a9bd9d0415e0f9f09b13c83e34d3ef4fc1a9) Change-Id: Ic86e9387dd49c28b3dcba028ca2ba95b8e6780fa Reviewed-on: http://git-master/r/65902 Reviewed-by: Dhiren Bhatia <dbhatia@nvidia.com> Tested-by: Dhiren Bhatia <dbhatia@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: R181b904eb4de4b96c2bf40c6a7797639c8a8d6fd
2011-11-30video: tegra: hdmi: Add support to HDMI test in driver.Kevin Huang
Test function is invoked by hdmi test module to test DC1, HDMI and EDID modules. Bug 834332 Reviewed-on: http://git-master/r/56482 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 8a2ec9a20d88db2f96e17cb7136d81560b989542) Change-Id: I196802fda78a753391298b0c3b6874cedbf1e197 Reviewed-on: http://git-master/r/60467 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: Raea2dcac0ecfca42b8a2a56461828bcd1c7d055f
2011-11-30video: tegra: Implement EDID queryRobert Morell
This change implements the TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID ioctl in the dc_ext interface. It first adds a way for the tegra dc EDID module to export EDID data safely, without the risk of reading an incomplete or corrupted EDID in the presence of hotplug, by moving the actual data to a substructure with a lifetime maintained by a kref. Then, that support is plumbed through the hdmi block (which is currently the only way to get at the EDID) and out to userspace. Signed-off-by: Robert Morell <rmorell@nvidia.com> Bug 817119 Original-Change-Id: I78cd170e15322011b428cb71ffad2c0c3ea058ac Reviewed-on: http://git-master/r/49127 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: Rafafc0a6fbacda5494b12162ad99a8c70ceeb2e0
2011-11-30video: add support for 1080p stereoDhiren Bhatia
Original-Change-Id: I933f64a82b74025f3ea05a2a20a24cba7948b039 Reviewed-on: http://git-master/r/46995 Reviewed-by: Alok Ahuja <alahuja@nvidia.com> Tested-by: Dhiren Bhatia <dbhatia@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Rebase-Id: R3b58044e1c821040ffba6adee54fb4b7131dd489
2011-11-30arm:video:dc Audio EDID improvementsScottPeterson
Finer grain determination of audio capabilities for HDMI devices. TO enable audio we have to have basic audio supported in the EDID plus at least one Short Audio Descriptor block. Reviewed-on: http://git-master/r/43304 (cherry picked from commit aaadcb7a4f8501dc71c6185e111fab1427bb7286) Original-Change-Id: I30c818cdc77ccb351f304bd3639f28a5d370f36b Reviewed-on: http://git-master/r/45568 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R608c722e0481a4e2a4f8294c4358569f7970e722
2011-11-30video: tegra: dc: Add basic audio EDIDScottPeterson
Add support so that when the EDID is read from an HDMI display we set the spk_alloc flag to Left+Right, even if the optional SPeaker Allocation Block is not present. This provides a default audio configuration. Bug 849686 Reviewed-on: http://git-master/r/42173 (cherry picked from commit 13bbb59bfe687944923bceb1b2f60020546ce082) Original-Change-Id: I8306f261a7cbc640693d777c2a2453c2ef1da6b3 Reviewed-on: http://git-master/r/44610 Tested-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R970aebba6518b2a38de1d51dcf6ba1475688c72f
2011-11-30ARM: tegra: dc: Disable EDID dumpArtiste Hsu
tegra_edid_dump() causes audio noise when plugin HDMI cable during video playback and should not be enabled by default. Bug 837728 (cherry picked from commit Ib06926e30420c0aa26c7a6a3949429bbd3f2f9e1) Original-Change-Id: Ibd1e817db0a017a8543288a9b8525a4d71cba9cc Reviewed-on: http://git-master/r/42783 Tested-by: ChihJen Hsu <chhsu@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Rebase-Id: R508e1a028e0adf14127f5eb64c7750f584402d0f
2011-11-30Update copyrightsScott Williams
Original-Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a Rebase-Id: R5a6d087b717731c957b016f903fb82b4ea22b92d
2011-11-30arm: tegra: hdmi:added support for edid like datamohit singh
- added support for eld extraction from edid. - added support for propogation of eld to HDA. - bug 790232. Original-Change-Id: Ic94560c3bbef61e19fc901895052a892c5b7661f Reviewed-on: http://git-master/r/19547 Tested-by: Mohit Singh <mpsingh@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Original-Change-Id: Ib331531ad735ea44f7c123610f7829573eb40623 Rebase-Id: R7ba53a66b41eb9aa87cf2842414f18d8f25d98c7
2011-11-30[tegra: hdmi] clear stereo flag before checking edid for stereoChong Zhang
bug 788941 Original-Change-Id: Ib6c3da2f30fa5e7240cbdd1d406682aca3c820a2 Reviewed-on: http://git-master/r/20144 Tested-by: Chong Zhang <chzhang@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R74673d768bbcd6c1d8116a93424c62a877026b4f
2011-11-30HDMI stereo support - kernel code changeschzhang
Signed-off-by: Chong Zhang <chzhang@nvidia.com> Original-Change-Id: I53eea3b14852aecd589dfbd0461258e064835cc9 Reviewed-on: http://git-master/r/11405 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R4c2c1bba6eeeee16cf3d99061717c236c695eaf7
2011-11-30[ARM] tegra: edid modes uninitialized on i2c failJon Mayo
fix unhandled i2c errors in tegra_edid_get_monspecs() that resulted in truncated mode lists(stale data). Change-Id: Iec7878f2a3071c5297d0569d4f1cce1c9ed48979 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Peter Zu <pzu@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com>
2011-11-30video: tegra: flesh out edid supportErik Gilling
* read blocks in a single command instead of byte at a time * allow reading past segment 0 (edid > 256 bytes) * handle mutiple extention blocks * add debugfs file for reading edid Change-Id: Iec8182cdbccdaa2142e4bbc892202d2e8d73c23b Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: add hdmi output supportErik Gilling
Signed-off-by: Erik Gilling <konkers@android.com>