summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm (follow)
Commit message (Collapse)AuthorAge
...
| * | drm/msm/sde: remove 'mdp' from sde file namesClarence Ip2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | The previous 'mdp' prefix is no longer applicable to the new sde hardware. Change-Id: I6981268e1b86201b45cd1816d48d2be9d80c02b6 Signed-off-by: Clarence Ip <cip@codeaurora.org>
| * | drm/msm/sde: add valid rotator writeback flagAlan Kwong2016-08-01
| | | | | | | | | | | | | | | | | | | | | Enable formats which are compatible with rotation. Change-Id: I35084dc0965115bf0a04f66969083d8dfb72abfa Signed-off-by: Alan Kwong <akwong@codeaurora.org>
| * | drm/msm/sde: add properties for planesClarence Ip2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for various planes proproperties to enable alpha config, deinterlacing, scaler configuration, decimation, csc, etc. Move blob properties to be first in internal enum to simplify range checks in the code. All future blob properties should also be inserted in the same section of the enum definition. Change-Id: Icf82dbaa9ac914945f6ad2ba982595b39904a9af Signed-off-by: Clarence Ip <cip@codeaurora.org>
| * | drm/msm/sde: consolidate SDE error logging on DRM standard callsLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | Replace instances of pr_err and dev_err with DRM_ERROR. Change-Id: I2ed06765ba4e980ee56c0c249f2aca997a7bf1b6 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
| * | drm/msm/sde: set encoder role at display probe timeLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Base the encoder's master/slave role on display probe. Move interface select programming fully to the mdp_top block. Fix vblank_en race condition in CRTC. Change-Id: I4a26509a0ac28e0926b8bea90c5aaa5707a37e21 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
| * | drm/msm/sde: add preliminary debugfs supportClarence Ip2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debugfs additions under /sys/kernel/debug/dri/0. Add sde_debugfs_setup_regset32()/sde_debugfs_create_regset32() for creating register dump debugfs files, and add initial debugfs support in plane driver. Change-Id: I7e0a368fbcf6a249a016d2224c01666fe51abae9 Signed-off-by: Clarence Ip <cip@codeaurora.org>
| * | drm/msm/sde: add blending support for more use casesAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Update mixer/blending configuration to support different use cases, opaque blending, and alpha blending configs. Also fixes layer mixer hw programming offsets to support these. Change-Id: I0073a98740f23370da704f7ddc4642ad7fd10551 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
| * | drm/msm/sde: enable NV12 modetest for planesClarence Ip2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add basic CSC support and default sharpening config to enable YUV formats. Always using 601L conversion for now. Add initial support of plane blob properties. Change-Id: Ic818da5e1d6a9a5b3a9e32e222518b829a9dce4a Signed-off-by: Clarence Ip <cip@codeaurora.org>
| * | drm/msm/sde: fixup mdp top split pipe controlAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Complete implementation of mdp top pipe control with support for full control of upper and lower pipe settings, for command and video modes. Fixes support for dual DSI panels. Change-Id: I38abba32ee23fd0ef2c7825fc1bd6e0687cc6556 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
| * | drm/msm/sde: add support for vblank callbackAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability for CRTC to control whether encoder generates vblank callbacks depending on whether upper layer DRM requests vblank events. Change-Id: I5a63afa2765c43d220bfbbedd81d19c3a64de7d7 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
| * | drm/msm/dsi-staging: add dsi phy driverAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Add dsi phy driver. Configure clocks, regulators, gpios, lanes, and other dsi phy related hardware. Change-Id: Ic06c17f57496b22bcf820ea5c6929e334fa99a09 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/dsi-staging: add clock and power utilitiesAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add clock and power utilities for DSI driver components. Read the clocks, regulators, gpios etc from device tree and make them available for use. Change-Id: Id3b08bac976da6834e636cbd79d05b3ba4b91557 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/dsi-staging: add dsi controller driverAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add dsi controller driver. Initialize and implement hw modules, memory map, interrupt handling, check and set states, dsi message send and receive, low power mode and driver initialization. Change-Id: I9905e775ed73ba8dc8b57c717d32c4383b51d361 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/sde: add resource manager to enable dual dsiAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: adding implementation for mdp_top in hw driverAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: sde hw interrupt handlingBen Chan2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: simplify encoder display probe logicLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Cleanup the display probing logic now that the common display interface is available. Change-Id: I3a6f815d8e7ab7f22e719eaf7ef4c8150470d54f Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
| * | drm/msm/sde: move sde encoder to new display interfaceClarence Ip2016-08-01
| | | | | | | | | | | | | | | | | | | | | Call panels via common display-manager interface rather than directly. Change-Id: I4fe86b6b206929217c0cf807a93287140d507e6c Signed-off-by: Clarence Ip <cip@codeaurora.org>
| * | drm/msm/sde: programmable pre-fetch support for video encodersLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Add support in encoder for programming early fetch in the vertical front porch. Change-Id: I60fcf4a4e6aea80292b590ee14506579123f372d Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
| * | drm/msm/sde: sde encoder virtualizationLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: add controller instance to INTF block in catalogLloyd Atkinson2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: add basic sde object enumerationAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm: add smmu handlerAdrian Salido-Moreno2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | drm/msm/sde: add driver for sde supportAbhijit Kulkarni2016-08-01
| | | | | | | | | | | | | | | | | | | | | Initial DRM/KMS driver to support snapdragon display engine. Change-Id: I2f93d7cd24acf77359682f90b6b9647017ed62ba Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
| * | drm/msm/dsi-staging: add catalog for dsi driverAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | Add catalog for DSI controller and phy drivers. Change-Id: Iff7f55592834fef0230982282af5b8b2890f97a5 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/dsi-staging: add hardware driver for dsi controllerAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | Add hardware driver for DSI controller v1.4 Change-Id: I74a3b5ebbde1ca43b060d6e5ba2462fb66f0a3a8 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/dsi-staging: add hardware driver for dsi phyAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | Add hardware driver for dsi phy v4.0. Change-Id: I41afbec7621e2d08326188b507c57ef09bb1602b Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm/dsi-staging: add dsi definitions for new dsi driverAjay Singh Parmar2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Add header with definitions which are common to all dsi driver components. Change-Id: Ic460f81ba11438c7f0032303824144cc913f20fd Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
| * | drm/msm: remove clock framework dependencyDhaval Patel2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Remove dependency on Clock Framework for msm DRM driver. Change-Id: I4f18bac4427de498e5c0adff14c176f6d614abc5 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
* | | Revert "drm/msm: remove clock framework dependency"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 1a35b11b4a86 ("drm/msm: remove clock framework dependency")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I2a1fd46a36613a74ebd4c0471de47ad2c9524d5a Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | Revert "drm/msm/dsi-staging: add dsi definitions for new dsi driver"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 3d589da976e2 ("drm/msm/dsi-staging: add dsi definitions for new dsi driver")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: Icd478a54a07f9689dc0110382fd8b5de5c241a49 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | Revert "drm/msm/dsi-staging: add hardware driver for dsi phy"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 4843e1948fc4 ("drm/msm/dsi-staging: add hardware driver for dsi phy")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: Ifb18bac24f47a359394fc4d253803a2dd4720de3 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | Revert "drm/msm/dsi-staging: add hardware driver for dsi controller"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit a47691f8c95e ("drm/msm/dsi-staging: add hardware driver for dsi controller")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I8d8f93eef70c9028eb5e31b6b9e280b30a26ad13 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | Revert "drm/msm/dsi-staging: add catalog for dsi driver"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit af5a0d5df190 ("drm/msm/dsi-staging: add catalog for dsi driver")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: I2069e0f10df0b5f0b89c9d736c9176370b6b9e00 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | Revert "drm/msm/sde: add driver for sde support"Narendra Muppalla2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 'commit 54a4a3fb4194 ("drm/msm/sde: add driver for sde support")' This is partial change for display drm driver, that will break drm/sde merge commit. Change-Id: Iea6b08608a30979232826efba8fbb2a631d93f83 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
* | | 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 "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
|\| | |