summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* video: tegra: dsi: refactor D-PHY timing codeKen Chang2015-03-18
| | | | | | | | | | | | | | | | Refactor the code for calculating D-PHY timing to increase the granularity of DSI Tbit. Bug 1367094 Change-Id: Ic634879f5a362dd4b5699cf093b03457ee699d2c Signed-off-by: Ken Chang <kenc@nvidia.com> (cherry picked from commit fe691453145a8566dee016469f6d8f82d19f3a31) Reviewed-on: http://git-master/r/281308 (cherry picked from commit 3f623a888199721a1adbcaf6cff223c686d4d971) Reviewed-on: http://git-master/r/302667 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
* tegra: dc: copied bksv into the packet structuresharath2015-03-18
| | | | | | | | | | | | | | | | copied bksv from tegra_nvhdcp structure to tegra_nvhdcp_packet structure. bug 1354159 Change-Id: I6157428a6044977de5365b048ac20a35ffbc109a Signed-off-by: sharath <ssarangpur@nvidia.com> Reviewed-on: http://git-master/r/281198 Reviewed-by: Marvin Zhang <mzhang@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Signed-off-by: Sharath Sarangpur <ssarangpur@nvidia.com> Reviewed-on: http://git-master/r/301485 Reviewed-by: Automatic_Commit_Validation_User
* video: tegra: dsi: Fix slow slew rateVineel Kumar Reddy Kovvuri2015-03-18
| | | | | | | | | | | | Programmed the recommended register sequence to improve signal swing Bug 1393348 Change-Id: Ic851ddbdf6ce52c5d378420ecda698334ae2e947 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/304629 Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* video: tegra: dc: fix isomgr bandwidth compuationsRakesh Iyer2015-03-18
| | | | | | | | | | | | | Allow for minimum bandwidth to be reserved while display is in operation. Bug 1326337. Bug 1319943. Change-Id: I923880928dacccbf73918164d10b6ef3911b1210 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/299603 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dc: fail propose for removed displayRakesh Iyer2015-03-18
| | | | | | | | | | | | | | If a display has been removed e.g. HDMI we need to fail propose immediately. Bug 1321777. Change-Id: If31bfee89914b2f23de12b4e926899dfea9d2adf Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/246343 (cherry picked from commit 86a47ca92dbf3a82fa4d55b5c46c9de98ecde360) Reviewed-on: http://git-master/r/299602 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dc: fix isomgr feature issuesRakesh Iyer2015-03-18
| | | | | | | | | | | | Fix isomgr related code including bandwidth computation. Bug 1311433. Change-Id: Ieb0487df1c23c868e1a8608d9e249a0d70325086 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/299601 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dc: use available bandwidth infoRakesh Iyer2015-03-18
| | | | | | | | | | | | | | Use available bandwidth information to force renegotiation of window configs. Bug 1311433. Change-Id: I735c42e77ea7e25912043a13e14e31bae4a07fb4 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/242125 (cherry picked from commit 3a20f9b1d1ccb8d86141e79e32019b6e3a1e5c81) Reviewed-on: http://git-master/r/299600 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dc: add asynchronous bw negotiation.Kevin Huang2015-03-18
| | | | | | | | | | | | | Add asynchronous bandwidth negotiation support for display. Bug 1197598. Change-Id: I16c1ba1dcbe790cec0f6b907c5d4071dc3840629 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/299599 Tested-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dp: Avoid enabling pll_d directlyDaniel Solomon2015-03-18
| | | | | | | | | | | | | | | During setup_clk, SOR enables pll_d and never disables it afterwards. This consumes power during display off usecases. There's no need for this call as the DC driver takes care of (indirectly) enabling pll_d before enabling SOR and disabling pll_d after disabling SOR. Change-Id: I574096b5a84640ba378214e203d737c1e673721d Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/304553 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: dc: clean up only valid windowsJon Mayo2015-03-18
| | | | | | | | | | | | | | | | Do not increment syncpoints of invalid windows during controller disable. Print a warning if a window has an invalid syncpt during disable. Bug 1396107 Bug 1393193 Change-Id: I38afdcd07fdf3b8ddb6b0c88fff0cdacb3f2951d Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/304463 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Sharath Sarangpur <ssarangpur@nvidia.com> GVS: Gerrit_Virtual_Submit
* Revert "video: tegra: dsi: Fix explicit host trigger calls"Animesh Kishore2015-03-18
| | | | | | | | | | This reverts commit 9cc57b57980f7653b16d425c37ed2440d098a004. Change-Id: If8083b86adb3f62871a82de45f2abdde45f15b6f Reviewed-on: http://git-master/r/304245 Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Tested-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* Revert "video: tegra: dc: Clock gate dc at frame end"Eric Eells2015-03-18
| | | | | | | | | | | | | | | | | | | | | This reverts commit cd589d9b55b1e1cbcd7a8096918433970927dade. Causes hard hang on boot 100% repro on certain systems. Bug 1395908 Change-Id: Iaeedff7233b2bfed2bdc777c1445ab654be63bcc Signed-off-by: Eric Eells <eeells@nvidia.com> Reviewed-on: http://git-master/r/303960 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Tested-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
* video: tegra: dsi: Fix explicit host trigger callsAnimesh Kishore2015-03-18
| | | | | | | | | | Bug 1381539 Change-Id: I1cdd336b55152b2383343fb0a65064ce491efe5d Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/302370 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* video: tegra: dc: Clock gate dc at frame endAnimesh Kishore2015-03-18
| | | | | | | | | | | | Feature applicable only for one-shot. Bug 1381539 Change-Id: I6ed16217a5c6c56113e7f93622533087130b10bd Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/302369 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* video: tegra: dsi: Added dsi debug interface fileTejas Sonchhatra2015-03-18
| | | | | | | | | | | | | Refactoring register dumping code from driver to debug file. The debug file will allow dumping of dsi registers when panel is up. Change-Id: I2b766add5cc77ae2c812e76f790f45027c920773 Signed-off-by: Tejas Sonchhatra <tmanoj@nvidia.com> Reviewed-on: http://git-master/r/300417 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Animesh Kishore <ankishore@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
* video: tegra: dc: Enable DSI_USE_SYNC_POINTS for T124 onlyBharat Nihalani2015-03-18
| | | | | | | | | | | | | | Enabling DSI_USE_SYNC_POINTS causes issues for T114 platforms. So enabling this only for T124 until we can enable this for T114 too. Bug 1393553 Change-Id: I227d279eaa55e1575470ac3cf52ae21e620c3c80 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/303380 GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
* video: tegra: dc: don't blank DC before disablingVictor Ryabukhin2015-03-18
| | | | | | | | | | | | | | | | | | | | | | | | Blanking the screen before DC disable is redundant and might cause momentary screen flash (screen off -> on -> off) in case if DC receives flip ioctl after screen was blanked. This also makes DC shutdown process similar to FB_BLANK_POWERDOWN. Bug 1299434 Change-Id: I9d3713bae4cc4511c7beb0cef22499cb9b3b5d64 Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-on: http://git-master/r/237914 (cherry picked from commit 161501da4ae10339e6f8c6ce208cca305d1f6569) Signed-off-by: David Schalig <dschalig@nvidia.com> Reviewed-on: http://git-master/r/243753 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com> (cherry picked from commit b9d9b7b02fa40cb8ea322c477c06efdddc33f2ac) Reviewed-on: http://git-master/r/303030 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: fb: Add compat ioctlTuomas Kulve2015-03-18
| | | | | | | | | | | Bug 1352981 Change-Id: Ie103fd01a751744f9d879dbf91972021eb73e483 Signed-off-by: Tuomas Kulve <tkulve@nvidia.com> Reviewed-on: http://git-master/r/298883 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peng Du <pdu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* tegra: dc: Disconnect display if there is no output driverRaghavendra VK2015-03-18
| | | | | | | | | | | bug 1373849 Change-Id: I403b3f6cb8a8c2b31d5b5555721df57531ea7997 Signed-off-by: Raghavendra VK <rvk@nvidia.com> Reviewed-on: http://git-master/r/301193 Reviewed-by: Bob Johnston <bjohnston@nvidia.com> Tested-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: edid: Verify checksum of edidMike J. Chen2015-03-18
| | | | | | | | | | | | | We've seen invalid edid reads and should retry instead of using it. Change-Id: I7d74a41f702be02464c7f43904805142153d4da0 Signed-off-by: Mike J. Chen <mjchen@google.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/301312 Reviewed-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
* video: tegra: dsi: Enable waiting on sync pointsVineel Kumar Reddy Kovvuri2015-03-18
| | | | | | | | | | | | Fixes busy wait and enables waiting on sync points Bug 1367115 Change-Id: I107500fca8e8703a8c5db954c4a74227bd25d475 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/300489 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
* video: tegra: dc: set syncpt max to N+1 in dc disableXue Dong2015-03-18
| | | | | | | | | | | bug 1388480 Change-Id: I7fc2c41e329651e0fbf3fbe8ee22755ad42b9da8 Signed-off-by: Xue Dong <xdong@nvidia.com> Reviewed-on: http://git-master/r/300896 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com>
* video: tegra: dsi: Send panel commands from link 1Vineel Kumar Reddy Kovvuri2015-03-18
| | | | | | | | | | | Fix panel commands not being sent from DSI link 1 Bug 1373421 Change-Id: I2e1301fbfee4d2958dae5291619dc3463fe9a25e Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/299859 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* video: tegra: dp: Update DP MSA on modesetDaniel Solomon2015-03-18
| | | | | | | | | | | Update SOR registers from which DP main stream attribute data is derived when a DC modeset has occurred. Change-Id: Ica53d4908eb56cbbce964342986164fc9b8d9543 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/300069 Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: dc: add modeset notifierDaniel Solomon2015-03-18
| | | | | | | | | | Add out_ops operation to notify the interface layer of when a modeset has occurred. Change-Id: Id39b6a1e80a8bd6fbce09b159213423c9a864038 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/300068 Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* tegra: dc: providing default lcd rotationVladislav Sahnovich2015-03-18
| | | | | | | | | | | | | Allow support for default panel rotation. Bug 1323602. Change-Id: I55169442afe89331bc61a18c995aa567ca90ff2e Signed-off-by: Vladislav Sahnovich <vsahnovich@nvidia.com> Reviewed-on: http://git-master/r/300690 Tested-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: dsi: Disable TE during OSidleAnimesh Kishore2015-03-18
| | | | | | | | | | Bug 1381539 Change-Id: I4758b12f782dc3c669af3937182f77e8e74c4a6a Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/289990 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
* video: tegra: dp: Implement full link trainingAnimesh Kishore2015-03-18
| | | | | | | | | | Bug 1368069 Change-Id: Ibb4144a328aa5775cd9d0dbf231fc3402df070ba Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/298720 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
* video: tegra: dsi: Fix unbalanced clk API callsVineel Kumar Reddy Kovvuri2015-03-18
| | | | | | | | | | | | | Fixes unbalanced clk enable disable calls Bug 1376053 Change-Id: I9a6933fa21b91989c5f36f110c47690455148909 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/288740 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
* tegra: hdmi: support HDMI VSDB VIC parsingEmma Yan2015-03-18
| | | | | | | | | | | | | | | | | Bug 1167856 Bug 1357380 Bug 1366416 Bug 1369156 Bug 1375947 (cherry-picked from commit f649c7aded9902bbeb6e79423e1af87553441949) Change-Id: Ifd2fce407405bed92d8c399c742635f6e9c59918 Signed-off-by: Emma Yan <eyan@nvidia.com> Reviewed-on: http://git-master/r/280300 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/299001 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
* video: tegra: dc: get dma_buf from fdKrishna Reddy2015-03-18
| | | | | | | | | | | get dma_buf from fd directly when nvmap handles are represented using fd's. Change-Id: I9593e144f850d0852b091e7966278220d8fb4c06 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/294244 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: dc: hdmi: remove dangling pointerJong Kim2015-03-18
| | | | | | | | | | | | | | | | | | | Remove dangling pointer by removing kfree in tegra_dc_add_modes. specs.modedb is allocated by tegra_dc_add_modes(), but is consumed by tegra_fb_update_monspecs(), so releasing specs.modedb creates a dangling pointer and make the system crashed, especially when the system suspends to lp0. bug 1264520 Change-Id: Ic944e75b631800ed552b7e56b5799a3e60b48afe Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/248089 (cherry picked from commit e00bcba1c2d54f91d9ff93c5f8fd61c40a9ab5bd) Reviewed-on: http://git-master/r/289277 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: hdmi: set VIC for all aspect ratiosXue Dong2015-03-18
| | | | | | | | | | | bug 1374561 Change-Id: I3db9b42e41d2d20bea5ca52360ed7250daa41000 Signed-off-by: Xue Dong <xdong@nvidia.com> Reviewed-on: http://git-master/r/290005 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com>
* tegra: dc: add hdcp reset in handle_recheck_edid_lsharath2015-03-18
| | | | | | | | | | | | | | | | | Added HDCP reset logic in handle_recheck_edid_l to pass HDCP Compliance. bug 1382386 bug 1382265 Change-Id: I9e53be05f36b6dfc90bd610760e4a2bdc2970c8c Signed-off-by: sharath <ssarangpur@nvidia.com> Reviewed-on: http://git-master/r/284333 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-on: http://git-master/r/298490 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com>
* video: tegra: dc: Check power state before powergatingChao Xu2015-03-18
| | | | | | | | | | | | | | | When DC goes through suspend/resume, no need to powergate dispB again if it is not powered. Bug 1385371 Change-Id: If4c66c892d2a50e8ba5708cc9da051909d68e143 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/288885 Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com> Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
* Revert "video: tegra: dc: move syncpts for sync framework"Shridhar Rasal2015-03-18
| | | | | | | | | | | | | | | | This reverts commit 3b52a457988c3b2998df68b80313bfb7746780e0. Commit causes syncpoint id 0 increaments to max when HDMI connected and eventually sometimes result into device hang. Bug 1382871 Bug 1384217 Change-Id: I39caddf2b3fbe70bdc67dc3aab82d99a217268af Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/282274 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
* video: tegra: dc: Move powergate to hdmi state machineChao Xu2015-03-18
| | | | | | | | | | | | | | | | HDMI state machine works on a different thread than dc_probe. Doing powergating in dc_probe requires synchronization between these two threads. Move poweragting to the state machine to avoid the extra operations. Bug 1364348 Bug 1382870 Change-Id: I909fe39944f2c1c57b23b4d161165975ada3e94d Signed-off-by: Chao Xu <cxu@nvidia.com> Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/282138 Reviewed-by: Automatic_Commit_Validation_User
* video: tegra: dc: support all formats on T124Jon Mayo2015-03-18
| | | | | | | | | | | | Change-Id: I4f138daa014d8d688a74205658b94d4c904f4823 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/280874 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Xue Dong <xdong@nvidia.com> Reviewed-by: Wen Yi <wyi@nvidia.com> Tested-by: Wen Yi <wyi@nvidia.com> (cherry picked from commit 1aebf628c0ea2cb3d62c07a0d20587f16db132fa) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: remove unused prototypesJon Mayo2015-03-18
| | | | | | | | | | | some prototypes slipped in that don't belong. Change-Id: Icb1c054038d5cd0170bf5e992a9942cab5e53537 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/280872 Reviewed-by: Automatic_Commit_Validation_User (cherry picked from commit 438b30ceb95dc9785f03deea3a5c78e3f4c3e090) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: move syncpts for sync frameworkRakesh Iyer2015-03-18
| | | | | | | | | | | | | | | | | | | | | Forward the syncpoints for sync framework when controller is disabled. Bug 1219339 Change-Id: I550fb12da5ef3274df60b02c896e335b4da4e9be Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/271739 (cherry picked from commit a1c6c26de71dff54cd24e8880442a23854447281) Reviewed-on: http://git-master/r/279191 (cherry picked from commit f49f7f30ec819496668a5181d93ebc5dfa479666) Reviewed-on: http://git-master/r/280490 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Michael I Gold <gold@nvidia.com> Tested-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 0e69b4bfc2e98ba670af4af11836033138e086be) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: Enable CRCs on ASIMTuomas Kulve2015-03-18
| | | | | | | | | | | | | | | The new synchronised CRC read logic works in ASIM as well. Bug 1289889 Change-Id: I295f93cfcff6486b8fd407a94ac98a4ae124f573 Signed-off-by: Tuomas Kulve <tkulve@nvidia.com> Reviewed-on: http://git-master/r/279715 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 811d442a55f55f02258a2da486cc10225b25cb4d) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: detach from dmabufAlex Waterman2015-03-18
| | | | | | | | | | | | | | | | | | Make sure we detach from the dmabuf before we put the dmabuf. Otherwise we leak the underlying attachment structure. Bug 1354774 Change-Id: Ic36221813e3ece41f189ef6083ed52dd71bbe90f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/279875 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seema Khowala <seemaj@nvidia.com> Tested-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com> (cherry picked from commit 9d23e72cc69da6e702a3bb7788db67febac292eb) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: add detach from dmabufKrishna Reddy2015-03-18
| | | | | | | | | | | | | | fix dma_buf_attachment leaks resulting from not calling dma_buf_detach. Bug 1354774 Change-Id: If70a42042d14890159c6d2bc0d2abc0e84c3fedd Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/279896 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> (cherry picked from commit a7fd458faa32e343f500cc71accd424224c4b3a1) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: Do not enable fb on AndroidMichael Frydrych2015-03-18
| | | | | | | | | | | | | | | | Fixes WAR implemented in dc925c2dff so that it explicitly disables fb window on Android and enables the fb window otherwise. Bug 1356757 Change-Id: I931063cd9042b2cc2884d448731f0972da277af1 Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/279371 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> (cherry picked from commit 002c090e13f234f52b77782720a90633aac2b75f) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: Fix HDMI powergating issueChao Xu2015-03-18
| | | | | | | | | | | | | | Setting DISPB connected state after pending HPD is handled so DC won't powergate DIPB accidentally. Bug 1364348 Change-Id: Ib71267a73c205d1957972d462987e8f4cb542712 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/278533 Reviewed-by: Automatic_Commit_Validation_User (cherry picked from commit d6bee34206954a33f3245dea13d39c35b5fb9a5f) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dc: remove nvmap client creationKrishna Reddy2015-03-18
| | | | | | | | | | | | | | remove nvmap client creation, which is no longer necessary. Change-Id: Ia90a1b5eb948bacbfe00ed9403e656519a31e547 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/278551 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> (cherry picked from commit 39a3fcc0d2c39ce9fdb728e3f88830ef4d1ae81e) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dsi: Update dvfs during OSidleAnimesh Kishore2015-03-18
| | | | | | | | | | | Bug 1372849 Change-Id: I783730ae6ec6cf565ad1655dfd885299b5501ea1 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/278272 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> (cherry picked from commit 8804ab60c8aee8c7b00943337c29f8212a65ff0e) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dp: Implement irq handler and hpdAnimesh Kishore2015-03-18
| | | | | | | | | | | | | | | 1. Implement interrupt handler 2. Wait for hpd plug before auxilary transaction Bug 1371504 Change-Id: I290a34926b17f2f74c926db664d46a488e0a14e8 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/277230 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> (cherry picked from commit 272069a43f18fbd1d812549b25bfbaf17a4f91eb) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: dsi: Fix DSI prod settingsVineel Kumar Reddy Kovvuri2015-03-18
| | | | | | | | | | | | | | | | Bug 1319070 Change-Id: I1ed7688f8d225207dc8cbd2f0ddbe30ed85e8eb6 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/274119 (cherry picked from commit 46561ea76de59428a579197659c418b384787c53) Reviewed-on: http://git-master/r/278261 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Animesh Kishore <ankishore@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> (cherry picked from commit c1d9853f3354037c5098d5f2d35a7efed94a6fab) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
* video: tegra: hdmi: T148 Prod settingsTom Cherry2015-03-18
| | | | | | | | | | | | | Bug 1250270 Bug 1316334 Change-Id: I652cc2dd49961bb6ed8cfecd6bd85f6f67699f28 Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/261662 (cherry picked from commit 2b051b7000c36de9fdf4142f04379e375af300e3) Reviewed-on: http://git-master/r/277970 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit