summaryrefslogtreecommitdiff
path: root/drivers/gpu (follow)
Commit message (Collapse)AuthorAge
...
* | | | | Revert "drm/msm: add smmu handler"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 29e061e200a7 ("drm/msm: add smmu handler")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I65034605b1caefe435a37c6fde78d4c52f3439c3 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: add basic sde object enumeration"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 815cfffb81dd ("drm/msm/sde: add basic sde object enumeration")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I5d58276f207485ac8ae80d8619282d2b62c0a695 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: add controller instance to INTF block in catalog"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 1cab3385401f ("drm/msm/sde: add controller instance to INTF block in catalog")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: Id950e4f131b9330908f65c431fca34cddf96b5ee Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: sde encoder virtualization"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit a142ec80cac0 ("drm/msm/sde: sde encoder virtualization")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: Ida1e127788961e1c9484b0a69695d0ad5391cf88 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: programmable pre-fetch support for video encoders"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit fe03524bee6a ("drm/msm/sde: programmable pre-fetch support for video encoders")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I978b0248f5e011abbb8cede98a56b3cb558f2d87 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: move sde encoder to new display interface"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 0190e3c975d2 ("drm/msm/sde: move sde encoder to new display interface")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I810da6da7df48bba1df68c81e2843f6597e4ca27 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: simplify encoder display probe logic"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 643f96153282 ("drm/msm/sde: simplify encoder display probe logic")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I8df181f1e9a7d998aa9f35fbd5154a022d8563db Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: sde hw interrupt handling"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit d199f38207a9 ("drm/msm/sde: sde hw interrupt handling")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I7235fa269888d72247a3a5aee31b5fde3fb3b8e3 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: adding implementation for mdp_top in hw driver"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit f8846e9345e8 ("drm/msm/sde: adding implementation for mdp_top in hw driver")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I39fbad9b113cac96bb523876673787eed121172d Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | | Revert "drm/msm/sde: add resource manager to enable dual dsi"Narendra Muppalla2017-01-25
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit e14b3005bdf9 ("drm/msm/sde: add resource manager to enable dual dsi")'. This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I2d4f915aa5d3382ce22aa1b4d6e02183ab2f7c5c Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | | Merge "msm: kgsl: Dump preemption record only if it is enabled"Linux Build Service Account2017-01-23
|\ \ \ \
| * | | | msm: kgsl: Dump preemption record only if it is enabledRajesh Kemisetti2017-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During GPU snapshot dump path, a5xx_snapshot() tries to capture preemption record without really checking on the availability of preemption feature. Add a check for preemption feature and then proceed. Change-Id: I6ee23a1d8006ba18a25fb341bb88d8944ff054b7 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | Merge "msm: kgsl: Try lower order mempools incase of mismatch"Linux Build Service Account2017-01-23
|\ \ \ \ \
| * | | | | msm: kgsl: Try lower order mempools incase of mismatchRajesh Kemisetti2017-01-20
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to allocate pages from lower order mempools incase if requested memory size order does not match with the available mempools. Change-Id: Idbe4dae3b8bb2a3165199b6959ad4fbf36559964 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | Merge "msm: kgsl: Clean up power-related members if probe fails"Linux Build Service Account2017-01-20
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | msm: kgsl: Clean up power-related members if probe failsLynus Vaz2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If power-related initialization fails during device probe, clean up the kgsl structure members. This is useful if the device probe is retried later. Change-Id: I75aeb199da685bb5055ba5a8a0bb552656951674 Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
* | | | | msm: kgsl: Enable HW clockgating and preemption for SDM660 GPURajesh Kemisetti2017-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable HW clockgating and preemption for A512 GPU to save power and for better context switching. Also update proper size for CP MERCIU size. Change-Id: If3e5101c2695b1f06d650d320bc8d3bebac29f6f Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | Merge "drm/msm/sde: add resource manager to enable dual dsi"Linux Build Service Account2017-01-13
|\ \ \ \ \
| * | | | | drm/msm/sde: add resource manager to enable dual dsiAbhijit Kulkarni2017-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add resource manager for retrieving the control paths and layer mixers. Encoder and CRTC use this to get the hw driver contexts for those blocks. Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/sde: adding implementation for mdp_top in hw driver"Linux Build Service Account2017-01-13
|\| | | | |
| * | | | | drm/msm/sde: adding implementation for mdp_top in hw driverAbhijit Kulkarni2017-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mdp_top block support to hw layer, provides split pipe control, and interface select. Use mdp_top from intf block to program interface select. Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/sde: sde hw interrupt handling"Linux Build Service Account2017-01-13
|\| | | | |
| * | | | | drm/msm/sde: sde hw interrupt handlingBen Chan2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing SDE HW interrupt was based on mdp/kms and is not sufficient for supporting the SDE HW interrupt manipulation. Changes are for enabling full SDE interrupt support and hiding HAL interface implementation details from crtc/encoder. Change-Id: I917a153d12bbb6b84758591ba69fe15181af7791 Signed-off-by: Ben Chan <bkchan@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/sde: simplify encoder display probe logic"Linux Build Service Account2017-01-13
|\| | | | |
| * | | | | drm/msm/sde: simplify encoder display probe logicLloyd Atkinson2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup the display probing logic now that the common display interface is available. Change-Id: I3a6f815d8e7ab7f22e719eaf7ef4c8150470d54f Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/sde: move sde encoder to new display interfaceClarence Ip2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call panels via common display-manager interface rather than directly. Change-Id: I4fe86b6b206929217c0cf807a93287140d507e6c Signed-off-by: Clarence Ip <cip@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/sde: programmable pre-fetch support for video encodersLloyd Atkinson2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support in encoder for programming early fetch in the vertical front porch. Change-Id: I60fcf4a4e6aea80292b590ee14506579123f372d Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/sde: sde encoder virtualizationLloyd Atkinson2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split SDE encoder into virtual and physical encoders. Virtual encoders are containers, one per logical display that contain one or more physical encoders. Physical encoders manage the INTF hardware. Change-Id: I6342511c59568c76278a519b84f93338157e59fa Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/sde: add controller instance to INTF block in catalogLloyd Atkinson2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Controller Instance ID differentiates between INTFs of the same type. E.g. which DSI INTF is primary, which is secondary. Change-Id: Icc47df59a24faa2a019ab190d6c835a0ac93024d Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/sde: add basic sde object enumerationAbhijit Kulkarni2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement basic crtc, encoder, and plane support that implements DRM atomic call sequence, queries hardware, and enumerates resources as DRM objects. This includes basic color format support, as well as querying of displays to create appropriate encoders, crtcs. Also includes supporting clock control logic. Change-Id: I25a9c74b92262d81986b3441c89d51bff2d14dbb Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm: add smmu handler"Linux Build Service Account2017-01-13
|\| | | | |
| * | | | | drm/msm: add smmu handlerAdrian Salido-Moreno2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add msm_smmu driver to support mapping buffers to arm smmu memory. msm_smmu adds the hooks to support drm hooks. Current change only supports the unsecure domain memory. msm_gem object is also updated to attach the new msm_smmu driver. Change-Id: I4899bd74d8b41b864ed5e0dec2da11e929c7fa95 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/sde: add driver for sde support"Linux Build Service Account2017-01-12
|\| | | | |
| * | | | | drm/msm/sde: add driver for sde supportAbhijit Kulkarni2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial DRM/KMS driver to support snapdragon display engine. Change-Id: I2f93d7cd24acf77359682f90b6b9647017ed62ba Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/dsi-staging: add catalog for dsi driver"Linux Build Service Account2017-01-12
|\| | | | |
| * | | | | drm/msm/dsi-staging: add catalog for dsi driverAjay Singh Parmar2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add catalog for DSI controller and phy drivers. Change-Id: Iff7f55592834fef0230982282af5b8b2890f97a5 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/dsi-staging: add hardware driver for dsi controller"Linux Build Service Account2017-01-12
|\| | | | |
| * | | | | drm/msm/dsi-staging: add hardware driver for dsi controllerAjay Singh Parmar2017-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add hardware driver for DSI controller v1.4. Change-Id: I74a3b5ebbde1ca43b060d6e5ba2462fb66f0a3a8 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
| * | | | | drm/msm/dsi-staging: add hardware driver for dsi phyAjay Singh Parmar2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add hardware driver for dsi phy v4.0. Change-Id: I41afbec7621e2d08326188b507c57ef09bb1602b Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "drm/msm/dsi-staging: add dsi definitions for new dsi driver"Linux Build Service Account2017-01-10
|\| | | | |
| * | | | | drm/msm/dsi-staging: add dsi definitions for new dsi driverAjay Singh Parmar2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add header with definitions which are common to all dsi driver components. Change-Id: Ic460f81ba11438c7f0032303824144cc913f20fd Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | Merge "msm: kgsl: Remove BUG_ON from the map global"Linux Build Service Account2017-01-09
|\ \ \ \ \ \
| * | | | | | msm: kgsl: Remove BUG_ON from the map globalHareesh Gundu2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return error instead of BUG_ON on map global failure. This will avoid crashing the entire system. CRs-Fixed: 1106621 Change-Id: I693dc196bb7a2e01f6a033f5fbbf7b454108108d Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
* | | | | | | Merge "drm/msm: remove clock framework dependency"Linux Build Service Account2017-01-08
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | drm/msm: remove clock framework dependencyDhaval Patel2016-12-05
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dependency on Clock Framework for msm DRM driver. Change-Id: I4f18bac4427de498e5c0adff14c176f6d614abc5 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
* | | | | | msm: kgsl: Add Zap shader name for A512 GPU on SDM660Rajesh Kemisetti2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to clear out the internal memories of GPU while moving from secure to unsecure mode. Change-Id: I9ef4848212246a2ed45395ef97c7f755784cb635 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | | msm: kgsl: Enable Content Protection for A512 GPURajesh Kemisetti2017-01-02
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable CPZ feature for A512 GPU on sdm660. This is required to process secure conent by GPU. Change-Id: Iaaedde4e56e331379be0b44b23527df0d5807f55 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | msm: kgsl: Do a midframe sampling of power stats if enabledPrakash Kamliya2016-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we sample power stats at the expiry of cmdbatch. In cases where cmdbatch takes a long time to finish the job, it delays power stats sampling, in effect it delays DCVS decision for changing the frequency. Do a midframe power stats sampling and feed it to DCVS if it is enabled. Change-Id: I547d792b38649aa1d60525b0dc335791b37989fd Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
* | | | | Merge "msm: kgsl: Get pages from the system incase mempool is not configured"Linux Build Service Account2016-12-20
|\ \ \ \ \
| * | | | | msm: kgsl: Get pages from the system incase mempool is not configuredHareesh Gundu2016-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow driver to get pages from the system incase mempool configuration is not defined from the device tree. This will fix kgsl driver probe failure for without gpu mempool configuration devices. Change-Id: I3142a5d2e13ed40f643c91594fd868c37620ce54 Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>