summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc
AgeCommit message (Collapse)Author
2012-06-06video: tegra: dc: blank windows on shutdownJon Mayo
Clear out all overlays and disable DC on .shutdown Change-Id: I4bc78fddb0ed8bd621733df191f305ecb279e3f7 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/106549 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-06video: tegra: dc: new file for bandwidth calcJon Mayo
Move bandwidth calculation logic into its own file. Change-Id: I57f58a6399805eede8783fea922c6f07dcbd54cb Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/106291 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2012-06-06video: tegra: dc: remove unused functionJon Mayo
removed tegra_dc_hdmi_mode_equal. It was replaced by tegra_dc_hdmi_cvt_mode_equal Change-Id: I7988d02a1c0b91eed88fdf573d8c993b6ee7be8d Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/106074 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Shashank Sharma <shashanks@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-06-06video: tegra: dc: fix unused variable warningJon Mayo
remove and rename unused variable in tega_dc_get_stride Signed-off-by: Jon Mayo <jmayo@nvidia.com> Change-Id: I0d101de22c08609f9727469ad7e4708de8de59ef Reviewed-on: http://git-master/r/106072 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-06-04video: tegra: dc: remove tegra_dc_host_triggerJon Mayo
The function tegra_dc_host_trigger() is no longer used, removing it. Change-Id: I929450bdf0224779910e8569bc8d1b3edb93f12d Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/106075 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-04video: tegra: dsi: remove build warningsJon Mayo
Added void to function prototypes and initialized some variables. Change-Id: I69250f5e17560f900fffddec9697e496af6ad4d2 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/106073 Reviewed-by: Automatic_Commit_Validation_User
2012-06-04video: tegra: dc: Export dispay feature table.Kevin Huang
Bug 992947 Change-Id: I0d1ecc9f8f042956cbe631779260a38573936616 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/105776 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-06-04video: tegra: nvsd: Fix Phase In Issue with AggressivenessMatt Wagner
Change to correct behavior for changing settings while phase_in_adjustments is set. Manual K values should not be overridden in the case where DIDIM was on and aggressiveness was changed. They should maintain state to avoid flickering. Bug 992995 Change-Id: Ic35c32a0fd5c6caaeee147dff114649ea25770c5 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/105523 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-23video: tegra: detect fbmem alignment on probeJon Mayo
Detect the stride size used by the bootloader. If DC is not enabled, fallback to a default stride size. Bug 973111 Change-Id: If04647ddf04a44987cd841062ff30e03fa4d6a02 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/104031 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-23video: tegra: dsi: enable dsi panel BPreetham Chandru
Enable dsi panel B by setting the first bit in APB_MISC_GP_MIPI_PAD_CTRL_0 register. Bug 935764 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I9e958e0c9d9e934edf77688fd6a987b5e863392b Reviewed-on: http://git-master/r/96672 Reviewed-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-05-23video: tegra: dc: Open-up HDMI mode filterShashank Sharma
We support dynamic pixel-clock setting now, so open HDMI mode filter by not rejecting a mode due to pixel clock mismatch. If the mode's requested pixclock is within the suppoted range, check few constraints of hardware and allow it. Add aspect ratio check to reject modes with awkward aspect ratio. Bug 967458 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Change-Id: Ife474dbfe4137a000a4a43b0e1ff72847f2a8b0a Reviewed-on: http://git-master/r/96163 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-23video: tegra: host: move function pointers to nvhost_driverMayuresh Kulkarni
- currently, function pointers are inside nvhost_device - these functions abstract the device specific implementation of a functionality per SoC - move them to nvhost_driver so that nvhost_device can be instantiated from arch code using board files/device trees - add support to use single driver for multiple devices using concept of id_table. this will be useful in supporting multiple SoC devices binding single driver - also add some notes about how device name is expected Bug 871237 Change-Id: I4c75d7121d26c3bdc50f058e0d144d89ca0edbd9 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/100985 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-22video: tegra: dc: remove bandwidth efficiencyVenkata (Muni) Anda
Remove the efficiency factor in the bandwidth calculation. Clock API will take care off setting the right clock based factoring the efficiency. Change-Id: I2b549197778b5afaf1aab3cc87a84debb08172e8 Reviewed-on: http://git-master/r/91659 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/103682 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-21video: tegra: dc: Enable GCOV for dc/ext codeChao Xu
Change-Id: Ie6d425f06911008d77c2ed87dc7b40611755ee6a Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/103396 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mark Stadler <mastadler@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-05-21video: tegra: dc: Change the definitions in display feature table.Kevin Huang
Change-Id: I13f0f7502aea7f43b2ddff12e9664c22a1d9bd21 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/103210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-18video: tegra: dc: add per window global alphaJon Mayo
Adds a global alpha parameter to each window. It provides a default alpha value for pixel formats that do not include alpha. Change-Id: I5465864877a727b4daed0eb32fb8219e2ccb663e Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/101806 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-18video: tegra: dc: Use nvmap.h include file from kernel/includeKrishna Reddy
Use nvmap.h include file from kernel/include instead of mach-tegra/include. Bug 854182 Change-Id: Ibfa271191bfce371986df29a7971b1da077c3f06 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/102722 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-17video: tegra: hdmi: set correct VIC for 1080p/30Hz modeYoungjin Kim
Set correct VIC value for 1080p/30Hz mode in AVI infoframe. Bug 969243 Change-Id: I6da9236124dbad7e4d74f3cf6dad7e273bd7778b Signed-off-by: Youngjin Kim <nkim@nvidia.com> Reviewed-on: http://git-master/r/100553 (cherry picked from commit 41858f2fd99face9dc0c47bd2870045291a6c0b6) Reviewed-on: http://git-master/r/102378 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-17video: tegra: hdmi: avoid border color impactVick Yu
To avoid border color making limited range test of MHL certification failed. Bug 966615 Bug 969243 Signed-off-by: Vick Yu <vyu@nvidia.com> Change-Id: I5c9659358a1c8dac9c6a5194bbc6f59b8230f116 Reviewed-on: http://git-master/r/100552 (cherry picked from commit 20774a3db055630ba0e59669e2e7cbd412f03178) Reviewed-on: http://git-master/r/102377 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Youngjin Kim <nkim@nvidia.com> Tested-by: Youngjin Kim <nkim@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-16video: tegra: dc: add list of preferred formatsJon Mayo
Move WinB's format limitations to a list of preferred formats. Bug 985197 Change-Id: Ife37c79441b2737592ace51e94ab0c80af4af917 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/102629 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
2012-05-16video: tegra: dc: fix build warningsJon Mayo
Makes function pointer type for mode_filter match the function in hdmi.c Change-Id: Id61f319a4ddef003b79782391e9e7f2f8cb32dda Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/102630 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
2012-05-16video: tegra: dc: make functions static in rgb.cJon Mayo
Use static for functions that are not called externally. Change-Id: Iacccb83e31e860d10f92897041421298231e45b1 Reviewed-on: http://git-master/r/102623 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-05-15video: tegra: dc: remove obsolete IRQF_DISABLEDPritesh Raithatha
Bug 955184 Change-Id: I7ac0a290c2b6acd454de05d094bd676b88f4b476 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/101546 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-15video: tegra: dc: correct dc initialisation sequencePritesh Raithatha
-Move _tegra_dc_enable to before irq_request and remove disable_dc_irq. -It will remove warning of "IRQ when DC not powered!". Bug 955184 Change-Id: If9b039f3f1635d92f10bfc54af08101972fc3d57 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/101498 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-15video: tegra: dsi: WAR to stop on going host writeAnimesh Kishore
WAR comprises of soft reset dsi controller followed by explicitly clearing host trigger. Bug 982919 Change-Id: Ia8c497dd496435e429cd5b5ee8aaf1b7d78dc797 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/102204 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-05-11video: tegra: dc: Add display feature table support.Kevin Huang
Add display feature table so that user and kernel could set and update window attributes properly. Bug 962353 Change-Id: I08490a225892660126f3eefe4d5b7a4bb61d9bf7 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/101078 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-08video: tegra: fb: Call mode filter from check varShashank Sharma
Call dc_hdmi_mode_filter to validate a videomode. X prepares its own modedb of supported HDMI modes, but all of them may not be supported from the HDMI driver. This call makes sure a X-mode is listed only if supported in DC driver. Bug: 959676 Change-Id: I8aff65f4e08fcc4471af096150e3972b5913a95a Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/99650 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-08video: tegra: dc: Set default videomodeShashank Sharma
Set default videomode during the dc probe. This patch enables HDMI during the probe only and fixes following issues: 1. Until Xinit there was no display on HDMI. 2. Framebuffer console on HDMI needs it to be enabled well before Xinit. To avoide un-necessary powering on HDMI,Check HPD and enable HDMI only if it's present. Bug: 930136 Bug: 977705 Change-Id: Ifb71328e5df0ccbb5751669db71fd24719fe3738 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/100656 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-04video: tegra: host: Clean up includesTerje Bergstrom
Clean up #includes. Replace #includes with forward declarations where possible, and remove extraneous #includes. Bug 871237 Change-Id: I6942e0c632b42ad7009589ebdd78def88ae4baa4 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/99046 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-05-03Revert "video: tegra: dc: Set default videomode"Hunk Lin
This reverts commit 9349cedf17f9b3c10760c8d48f831473f87a3a15. It is reviewed on http://git-master/r/99635 It will cause HDMI power ON and emc clock bump up to 667Mhz after resume from LP0. bug 930136 Change-Id: I130494fdb381b3d322ac0e3fc8be2e44f2c2d7a7 Signed-off-by: Hunk Lin <hulin@nvidia.com> Reviewed-on: http://git-master/r/100202 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-03video: tegra: dsi: Ref-count pllp_out3 clock in DSI.Kevin Huang
Bug 933653 Change-Id: If7ce4dc5129782a7e3487028d2dba01c9380ba90 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/98256 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2012-05-01video: tegra: dc: Set default videomodeShashank Sharma
Set default videomode during the dc probe. This patch enables HDMI during the probe only and fixes following issues: 1. Until Xinit there was no display on HDMI. 2. Framebuffer console on HDMI needs it to be enabled well before Xinit. Bug: 930136 Change-Id: Ieaf5c69eefa4a6584893425ad4fd772bcd91ea11 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/99635 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-01Revert "video: tegra: dc: Clear window option before window update."Kevin Huang
This reverts commit 90b79e5712300baab889772a5af348559ac95836. Bug 955393 Change-Id: I0e2a15b7d0898dbbb62f09d8bd3502ec93366664 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/99261 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Nirav Patel <nipatel@nvidia.com> Reviewed-by: Adam Cheney <acheney@nvidia.com> Tested-by: Adam Cheney <acheney@nvidia.com>
2012-04-25video: tegra: dsi: Add DSI register dump in debugfs.Kevin Huang
Bug 951349 Change-Id: I79fb2e49fa38b83af78323b5f5cf6dbca8fd83c2 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/98512 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-24hdmi: Set INJECT_NULL_SAMPLE only for stereo streamsSayak Ghosh Choudhury
Bug 953210 Change-Id: Id40b3fe90174a2a8c9a6faf3f35f61d9f7eeb642 Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com> Reviewed-on: http://git-master/r/98477 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-24video: tegra: dc: Activate register update after programmedMark Zhang
Inform DC register updated after we programmed. This eliminates the display corruption while device enters and resumes from LP0. Signed-off-by: Mark Zhang <markz@nvidia.com> bug 964626 Change-Id: I4c655d4800474c675d4cdb6204d6fe66e8c6c4b5 Reviewed-on: http://git-master/r/98336 Tested-by: Mark Zhang <markz@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peer Chen <pchen@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-04-24ARM: tegra: dc: support YUV422 formatJon Mayo
Change-Id: I8aa25b03fe6801882b65209cb1a6e125ef27ac2c Signed-off-by: Michael I. Gold <gold@nvidia.com> Reviewed-on: http://git-master/r/98319 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-24video: tegra: dc: add tracing informationJon Mayo
add trace_printk to log useful debug information. Bug 870685 Change-Id: I29c0b1600f234ebb06d19c8b6c713b16f6e7643c Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/89204 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Prashant Malani <pmalani@nvidia.com>
2012-04-20video: tegra: dc: update windows after set lutAdam Cheney
TEGRA_DC_EXT_SET_LUT programmed the proper shadow registers but did not copy the shadow registers to the active set. Signed-off-by: Adam Cheney <acheney@nvidia.com> bug 947281 Change-Id: Id734e128bb708f1a75c0cad22b0c51b083d8df3b Reviewed-on: http://git-master/r/91368 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-17Revert "video: tegra: dc: load video mode during vblank"Jon Mayo
Change-Id: Ib1b0fc6015a9dd45982a97231972dadba6b5a92e Reviewed-on: http://git-master/r/96966 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-11video: tegra: fb: Add interface to nvdps.Kevin Huang
Provide /sys/class/graphics/fb0/device/nvdps to change video mode on-the-fly without resetting window layout like fb_set_var(). This allows flicker free changes in refresh rate. nvdps sysfs file takes an integer, and selects the closest matching mode with the same or higher refresh rate. Reading the file displays the current refresh rate. Bug 560152 Change-Id: Id5c1eafaf338b99fa9742202b38ccbfc238b77d5 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/95473 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-04-11video: tegra: dc: load video mode during vblankJon Mayo
Handle mode set for FBIOPUT_VSCREENINFO at the end of a frame (during vblank). This elimiates the work around that requires disabling then enabling display to change modes. Adds a spinlock to protect irq code from updates to tegra_dc_mode structure. Bug 560152 Change-Id: I5d2175f01a177a32d685b46e5af4f78efeec0786 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/90688 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-10video: tegra: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I1ed8d08de4bdba4643b2ae4e8320db6f9c97a18f Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92310 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
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-04-06video: tegra: dc: avoid overflow in bw calculationJon Mayo
Change to using kbytes/sec to avoid overflowing 32-bit integer in bandwidth calculation. Changing efficiency adjustment to ~35%. Bug 958016 Change-Id: Ia8bdf79e4b3e4bc65517db18d9f351a5f840805e Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/92658 Reviewed-by: Automatic_Commit_Validation_User
2012-04-04dc: enabled recovery from resettingAdam Jiang
Enabled recovery of DC from resetting. When underflow triggered serveral times(current > 4 for tegra2), DC driver will reset itself to prevent data corruption. Reopend nvhost connection when resetting finished. That helps system to show frames instead of a blank screen again. Fixed Bug 936613 Change-Id: I314c37258a4a446dc07167ac60d0420e79a5fb2d Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/89406 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-03tegra: hdmi: Add 1080p timing tableHao Tang
Bug 949759 Add new 1080p timing support, or 1080p playback is not available on some monitors like Acer H243HX Change-Id: I8a8a3a5b2de71d5a56dad233f953e09176f85b76 Signed-off-by: Hao Tang <htang@nvidia.com> Reviewed-on: http://git-master/r/91732 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30video: tegra: dc: remove obsolete overlay interfaceJon Mayo
Remove old overlay interface, it is replaced with TEGRA_DC_EXTENSIONS External functions made static now that overlay.c no longer needs them. Change-Id: I5d080ceb19ad90d3b5cc4bf20494c967687293a5 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/92661 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Markus Holtmanns <mholtmanns@nvidia.com>
2012-03-29video: tegra: add cursor mode flippingAdam Cheney
This change adds a flag to flip windows in cursor mode. Cursor mode will cause flips to be skipped over if there are newer flip requests waiting in the workqueue. Add CURSOR_MODE to caps bitfield. bug 942762 Change-Id: Ib52a0a5565f961cdd9650e4204cd65b86f96fee1 Signed-off-by: Adam Cheney <acheney@nvidia.com> Reviewed-on: http://git-master/r/90418 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Morell <rmorell@nvidia.com>
2012-03-23video: tegra3: dc: remove hard coded HDMI ratesShashank Sharma
Set dc clock rate dynamically to requested pixel rate. Using modes specified in monitor's EDID data. Return mode set errors on unsupported clock tolerances. Bug 931908 Change-Id: I60990ecbc2fbeab542987036b8ccc30b8dababe8 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/86073 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>