summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm/Makefile (follow)
Commit message (Collapse)AuthorAge
* mdss: fbdev: Import Zuk z2 row drivers changesDavide Garberi2022-07-27
| | | | | | | * This is needed to make the display turn on after turning it off * All of this isn't needed at all on z2_plus Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* video: mdss: LiveDisplay driverSteve Kondik2020-04-18
| | | | | | | | | | * Bring in a lightweight version of the LiveDisplay driver which works for this chipset, and remove all the OEM spaghetti code. * This version of the driver does not include the generic RGB offset postprocessing, since we're going to do this using the official QDCM APIs. Change-Id: Ifcaaf93d56933d019d1f469fd70b8466cd4ad3e7
* msm: ext_display: move ext_display out of FB driverRay Zhang2017-02-27
| | | | | | | | | | Make ext_display a standalone module independent of framebuffer driver, so that it could be shared by various drivers such as framebuffer and KMS. CRs-Fixed: 2010135 Change-Id: I336c556cbfbd66d3cb3467acaea038d5d3651f67 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* mdss: display-port: add support for hdcp 2.2Ajay Singh Parmar2016-10-22
| | | | | | | | | | | Add support for HDCP (High-Bandwidth Digital Content Protect) version 2.2 for DisplayPort. Define interfaces to interact with Trust Zone and DisplayPort drivers. Hookup with TZ's kernel module and send-receive HDCP 2.2 messages to-from sink using DP's aux channel. Change-Id: Id77e77ee628667dacc7a714c553b5ce5beafa9bb Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: hdcp: change the name of hdmi_hdcp to generic oneAjay Singh Parmar2016-08-17
| | | | | | | | | | | Currently hdcp 1.x is being used by HDMI only. But it can be used by other interfaces like DP (Display Port). Change the name of the hdmi_hdcp module to hdcp_1x so that different interfaces uses more generic name for hdcp 1.x instead of the interface specific name. Change-Id: I0cb88c5715dd10c4fad5491e5f05ea489a7ab175 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: add external display class helperTatenda Chipeperekwa2016-08-11
| | | | | | | | | | | | | | Implement the external display class helper as a utility to manage display interface and audio codec interactions associated with the cable connect/disconnect events of the display interfaces. The helper class is responsible for routing operations called by the audio codec to a particular display, updating the hdmi switch node, and updating the audio switch node. CRs-Fixed: 1009284 Change-Id: Ie8d1006d3f11091a861733485cb67939ad47fdfe Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* msm: mdss: dp: rename EDP files to DPChandan Uddaraju2016-07-21
| | | | | | | | EDP is a add-on support for DP driver. Rename the EDP [.ch] files and the AUX channel driver file to DP. Change-Id: Ifeadae2f58eb4fbf398a682beb9180c4f7419041 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* mdss: Update EDP driver to support DisplayPortChandan Uddaraju2016-07-21
| | | | | | | | | | Create new "util" files to support IO operations. Use default resolution to register DP driver with FB. Update regulator and clock changes to support generic implementation. Change-Id: I896ab17afce77faf3dcf64fd75b15eaec9d5a00e Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* msm: mdss: Update the default PP bindingGopikrishnaiah Anandan2016-06-07
| | | | | | | | | | | | | | If mdss version is not part of get driver ops function currently we set the driver ops to NULL. When driver ops is NULL post processing driver will treat that msm is legacy target and program the post processing registers. For newer target if get driver ops function is not updated pp driver will assume it as legacy msm target and programme the registers incorrectly. Changing the default behaviour to stub function pointers will ensure that above use-case is gracefully handled. Change-Id: I03fdf88c741135f83d1939952e76b7460229a284 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org> Signed-off-by: Ping Li <pingli@codeaurora.org>
* msm: mdss: hdmi: separate out hdmi panel functionalitiesAjay Singh Parmar2016-05-09
| | | | | | | | | | | Create a new file for hdmi panel related functionalities for a cleaner approach. Move all the video, infoframe and timing related programming to hdmi panel. Expose its functionalities for other modules. Register the panel with hdmi transmitter core so that it can access and program it. Change-Id: Iff1cb13d7b42b6ecfe6fd1fc88a111875c3d6cfa Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: remove obsolete code related to write-back and rotatorUjwal Patel2016-04-22
| | | | | | | | | | Remove write-back and rotator related obsolete code in order to reduce dead code maintenance. CRs-Fixed: 987777 Change-Id: I917d9b5b777fb41f3f87213d8d9e6e7ddf73f92c Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* msm: mdss: add support for configuring DSI PHY v3Aravind Venkateswaran2016-04-22
| | | | | | | | | | Add the initialization and shutdown programming sequence for the DSI PHY v3 which is used on msmcobalt. This includes configuring the phy lane timings, strength control, and regulator settings. CRs-Fixed: 1000724 Change-Id: I6a8d45ef71316b5a935a711a5b0a48c055c1c392 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* Merge branch 'mdss-final-replay' into msm-4.4Adrian Salido-Moreno2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge brings all display changes from msm-3.18 kernel * (58 commits) msm: mdss: add support for additional DMA pipes msm: mdss: refactor device tree pipe parsing logic msm: mdss: refactor mixer configuration code msm: mdss: add support for secure display on msm8953. msm: mdss: disable ECG feature on 28nm PHY platform msm: mdss: send DSI command using TPG when in secure session msm: mdss: Update histogram and PA LUT in mdss V3 msm: mdss: validate layer count before copying userdata msm: mdss: Fix potential NULL pointer dereferences Revert "msm: mdss: Remove redundant handoff pending check" msm: mdss: hdmi: Do not treat intermediate ddc error as failure msm: mdss: revisit igc pipe enumeration logic msm: mdss: Add PA support for mdss V3 msm: mdss: Add support for mdss v3 ops msm: mdss: Update the postprocessing ops using mdss revision msm: mdss: update the caching payload based on mdss version msm: clk: hdmi: add support for atomic update msm: sde: Add v4l2 rotator driver to enable multi-context usecase msm: mdss: refactor pipe type checks msm: mdss: add proper layer zorder validation msm: mdss: stub bus scaling functions if driver is disabled msm: mdss: avoid failure if primary panel pref is not enabled msm: adv7533: add support for clients to read audio block msm: mdss: add lineptr interrupt support for command mode panels msm: mdss: update rotator frame rate in the pipe configuration mdss: msm: Avoid excessive failure logs in igc config msm: mdss: delay dma commands for split-dsi cmd mode panels msm: mdss: enable GDSC before enabling clocks in MDP3 probe mdss: dsi: turn off phy power supply during static screen mdss: dsi: read dsi and phy revision during dsi ctrl probe msm: mdss: Fix memory leak in MDP3 driver msm: mdss: delay overlay start until first update for external msm: mdss: free splash memory for MSM8909w after splash done msm: mdss: hdmi: separate audio from transmitter core msm: mdss: disable dsi burst mode when idle is enabled msm: mdss: remove invalid csc initialization during hw init msm: mdss: dsi: increase dsi error count only for valid errors msm: mdss: remove HIST LUT programming in mdss_hw_init msm: mdss: dsi: ignore error interrupt when mask not set msm: mdss: add support to configure bus scale vectors from dt msm: mdss: unstage the pipe if there is z_order mismatch msm: mdss: squash MDP3 driver changes and SMMU change msm: mdss: Read the bridge chip name and instance id from DTSI msm: mdss: Enable continuous splash on bridge chip msm: mdss: Fix multiple bridge chip usecase msm: mdss: Enable export of mdss interrupt to external driver msm: mdss: rotator: turn off rotator clock in wq release msm: mdss: fix ulps during suspend feature logic clk: msm: mdss: program correct divider for PLL configuration msm: mdss: fix DSI PHY timing configuration logic msm: mdss: hdmi: add support for hdmi simulation msm: mdss: handle race condition in pingpong done counter clk: qcom: mdss: calculate pixel clock for HDMI during handoff msm: mdss: ensure proper dynamic refresh programming for dual DSI msm: mdss: Add fps flag and update blit request version msm: mdss: initialize fb split values during fb probe mdss: mdp: fix rotator compat layer copy msm: mdss: handle DSI ctrl/PHY regulator control properly CRs-Fixed: 1000197 Change-Id: I521519c8abe8eed6924e2fbe3e1a026126582b77 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* msm: mdss: remove dsi-v2 file compilation from 8909.Sachin Bhayare2016-03-23
| | | | | | | | For MSM8909 28nm DSI phy is used and dsi-v2 support is not needed. So disabling dsi-v2 compilation for MDP3. Change-Id: I7410c434debf119ddad2f6dd8052aabf31c0db6a Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
* msm: mdss: separate out DBA and CEC functionality from DSISandeep Panda2016-03-23
| | | | | | | | | | | | | | | | Currently, DBA (Display Bridge Abstract) related functionality is being used in DSI files. Carve out DBA related functionality into a new file which serves as a utility module and can be used by any MDSS driver. Define CEC on/enable functions in DBA (Display Bridge Abstract) so that clients can enable disable CEC based on other dependent CEC modules. Separate out CEC abstract data with CEC driver data and initialize and release corresponding modules properly. Change-Id: I84f53d99547dcd4ce0b8275401b03ed8e96e14d5 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* msm: mdss: hdmi: create hardware independent CEC abstract moduleAjay Singh Parmar2016-03-23
| | | | | | | | | | | | Create a new CEC abstract module which is hardware independent and interacts with other modules. Make hardware dependent CEC a separate module and integrate with CEC abstract module. This makes it easy to integrate multiple CEC hardwares without disturbing other modules interacting with the abstract module. Change-Id: I0cf4973e567fe82a1b714c03ae8b18508521260e Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* msm: mdss: add support for dynamic dsi phy timing calculationJeevan Shriram2016-03-23
| | | | | | | | | | | | | | | | | | The programming of the DSI Phy timing registers are dependent on link frequency. In the current implementation, these values are pre-computed statically based on the link rate required for a particular panel. This approach does not scale very well, especially for use cases when dynamically changing the refresh rate or resolution for a panel. To address this, add support to dynamically compute the value for dsi phy timing registers based on a particular link rate. Change-Id: If1ff545318a540baee66f5357c519d7f428510c1 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org> Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org> [cip@codeaurora.org: Moved new file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: add display bridge abstraction driverVinu Deokaran2016-03-23
| | | | | | | | | | | | | | Add display bridge abstraction driver to provide an abstract interface for different types of bridge chips used on MSM platforms. This interface allows driver development for bridge chips from different manufactorers while allowing users, of the funcationality provided by these bridge chips, to re-use the same code across different boards. Change-Id: I64457e3a44479a3b1be5482691d4727a86dc9b87 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org> Signed-off-by: Siddharth Zaveri <szaveri@codeaurora.org> [cip@codeaurora.org: Moved file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: dsi: create dsi clock managerVinu Deokaran2016-03-23
| | | | | | | | | | | | Create a dsi clock manager to control dsi core and link clocks. Clock manager also has a state machine to transition between ON, EARLY_GATE and OFF states. Each client will vote for a specific clock state and the manager will check these votes to maintain lowest possible state. Change-Id: I50d63f87306cdd650f8d496908716153f0548665 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: hdmi: make edid parser an independent moduleAjay Singh Parmar2016-03-23
| | | | | | | | | Currently only HDMI driver is using EDID parser. But this parse can be utilized by other MDSS drivers. Make this as an independent module which can be used by any other MDSS driver for EDID parsing. Change-Id: I62622af6c27927b7cf0390238f311452c03cd262 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: Replace thulium with msm8996 in display codeVeera Sundaram Sankaran2016-03-23
| | | | | | | | | | Use appropriate SOC name. Also replace all instances of thulia with kryo. Change-Id: I3d21e3534fdf113190882c84ee5426ee929da131 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> [cip@codeaurora.org: Always build mdss_mdp_pp_v1_7.c] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: new rotator device driverXiaoming Zhou2016-03-23
| | | | | | | | | | | | Earlier, rotation operation was handled as part of overlay API. This creates a dedicated rotation device driver, which makes rotation operation separate from frame buffer device. Change-Id: I1cf99be03606fd43f97db386a6a55c01f1a058d4 Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org> [cip@codeaurora.org: Moved new file locations, updated sync.h/sw_sync.h includes] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: support atomic commit wfd use caseXiaoming Zhou2016-03-23
| | | | | | | | | | | | Add the support for atomic commet wfd use case, where the output buffer is specific in the atomic commit structure. Change-Id: I261392df132d4321daccb05d6ba7f5d9ea622236 Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org> [cip@codeaurora.org: Moved new file locations, updated sync.h/sw_sync.h include] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: hdmi: HDCP 2.2 transmitter featureAlhad Purnapatre2016-03-23
| | | | | | | | | | | | | | Handles messaging with a connected HDCP 2.2 capable receiver, in order to send and receive HDCP 2.2 authentication messages. This includes sending HDCP Tx messages to the receiver, polling the receiver for expected messages, and monitoring the receiver status. The receiver authentication status is used by the HDMI Tx driver to determine whether HDCP 2.2 content can be sent to the connected receiver. Change-Id: I12ae6427e8b61259989a670bf9856464a3109774 Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org> [cip@codeaurora.org: Moved mdss_hdmi_hdcp2p2.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: support atomic commit IOCTLDhaval Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | Atomic commit IOCTL adds validate and commit layer support for framebuffer driver clients. Clients sends the validate request with layer list for each display to put layers in validate list. Once layers are validated; clients sends the commit request for all validated layers. Validate request may fail while commit must not fail because clients have no fallback mechanism for commit failure. If clients calls the atomic commit without validate request then commit will validate all the layers before kickoff. In such situation; commit may fail due to validate failure. Change-Id: I9e9b27d1021292c8cafc624d40e7417a2028116a Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [cip@codeaurora.org: Moved mdss_mdp_layer.c file location, updated sync.h/sw_sync.h include] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: add mdss smmu v2 API support for thulium targetVeera Sundaram Sankaran2016-03-23
| | | | | | | | | | | | | | | Thulium target uses smmu v2 in which few apis have been deprecated from smmu v1 and few have been added. Now each smmu context bank has its own device, which are added as sub-devices to mdp device node. Handles for these context banks are maintained to access the respective smmu region. Additionally, clks voting has to be done before using the smmu region. This change addresses the new changes required for smmu v2 and also maintains compatibility with smmu v1. Change-Id: Iba113b9b05c23e3d6d0a588efbca4cd6583dc158 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: add support for mhl3 compilationCasey Piper2016-03-23
| | | | | | | | | | | Update makefile and Kconfig to support compilation of driver for SiI 8620 MHL Tx i2c device. Change-Id: Icf87c5bc059892433bc2ed88a5266adab92402ae Signed-off-by: Casey Piper <cpiper@codeaurora.org> [cip@codeaurora.org: Moved updates to new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: add support CDM block in MDP driverDhaval Patel2016-03-23
| | | | | | | | | | | | | | MDP has a new hardware block for converting mixer output to yuv format before the data goes to the interface block. This block will be used for enabling yuv420 output on HDMI and writeback interfaces. In case only one block is present, it needs to be shared between HDMI and writeback. Change-Id: I2688ca98c22d9f78e3c626ea8c1bf4c77713a3af Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Modularize caching of pp paramsPing Li2016-03-23
| | | | | | | | | | | | | | | When post processing(pp) blocks are udpated in mdp hardware new functions should be added into pp driver for caching the params required to program them. Cached params are committed to hardware when next frame is being queued for rendering. PP driver file is becoming huge due to addition of caching changes for different revisions of MDP. This change moves the caching code for upcoming mdp revisions into a separate file. Change-Id: I14e34de23c607fd8acdb103767503cb2cce1a0f1 Signed-off-by: Ping Li <pingli@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: added support to change panel resolution dynamicallyVeera Sundaram Sankaran2016-03-23
| | | | | | | | | | | Helpful in changing the panel resoultion on the fly with the help of debugfs nodes and when used along with simulated panels, it allows to test different panel configurations dynamically. Change-Id: I9cdf82e4fffd3dd618ee97601f169d72ab76a473 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> [cip@codeaurora.org: Moved mdss_panel.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Add framework for MDP-version-based PP driverBenet Clark2016-03-23
| | | | | | | | | | | | | | With many updates coming the postprocessing driver, there needs to be a way to manage the multiple versions of programming sequences and interface structures, without adding to the hardware agnostic code path. The pp_feature_ops structure will be used to decouple the PP driver from the PP hardware, such that the hardware-specific code is separated to a different file Change-Id: I604850c082c32f5741905bd509ae0e819e334749 Signed-off-by: Benet Clark <benetc@codeaurora.org> [cip@codeaurora.org: Moved mdss_mdp_pp_v1_7.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Cleanup the interface given by mdss/mdpShivaraj Shetty2016-03-23
| | | | | | | | | | Change irq interface provided by mdp from exporting symbols to function pointers. This will help in making mdp3 work with dsi 6G. Change-Id: I07a2acf56b75a2a6d83c0522d38efe3754bb8765 Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org> [cip@codeaurora.org: Moved mdss_util.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: fix trace compilation warningClarence Ip2016-03-23
| | | | | | | | | | | In order to prevent trace compilation warning, need to explicitly setup compile include directive to search current source folder for header files. Change-Id: Ic17f841c88d911498d914f5339c99d2cb1ae3d1a Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> [cip@codeaurora.org: Resolved merge conflict] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Avoid dsi v2 compilation for ferrumShivaraj Shetty2016-03-23
| | | | | | | | Ferrum uses DSI 6G, and there is no need to compile dsi v2 driver for this target. Update Makefile to take care of this. Change-Id: Ifbbb320fd908bbdca5825cac7164b68b18360316 Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
* msm: mdss: dump MDP state through debugfsAdrian Salido-Moreno2016-03-23
| | | | | | | | | | Add debugfs file to dump complete MDP state and gives a complete snapshot of MDP state. Change-Id: I9c3b5ebf9981a7197bff011c13cc3aeea7af5b78 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Add support to enable esd check through dtsi entryShivaraj Shetty2016-03-23
| | | | | | | | | | | Add support to enable or disable esd check through panel dtsi entry. This will help in enabling the feature only for those panels which support BTA. Change-Id: I4ef85bb2e78b133dd9577ac3d6788e46b34fe761 Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org> [cip@codeaurora.org: Resolved new Makefile location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Move splash thread functionalityDhaval Patel2016-03-23
| | | | | | | | | | | | | | | framebuffer and overlay drivers are tightly coupled with splash thread functionality. This adds lots of code related to continuous splash screen handling in both drivers. Moving them to separate file cleans up both drivers and allows to handle continuous splash screen cases efficiently. CRs-fixed: 605934 Change-Id: Id89bb281dbbf22e726cf5fd97e93f891e5c73f60 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Dynamically enabling ESDClarence Ip2016-03-23
| | | | | | | | | | | | | | Allow the check_status interval time to be configurable via /sys interface. Allow the dsi_check_status function to be enabled or disabled via /sys interface Combine MDP3 & MDP5 code and separate the platform specific code. Change-Id: Ida14b96864353fb58606009bc00312f6f338c736 Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org> [cip@codeaurora.org: Moved dsi_status_6g.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: add real time debug lograghavendra ambadas2016-03-23
| | | | | | | | | | | | | | | | | | | | | | To analyze issues like underruns and other timing issues add xlogs. Add debugfs entry for xlog to enable or disable logging and register dumping at run time. Enable xlog: echo 1 > <debugfs>/mdp/xlog/enable Enable register dump: echo 1 > <debugfs>/mdp/xlog/reg_dump Enable panic on error: echo 1 > <debugfs>/mdp/xlog/panic Get xlogs and register dump cat <debugfs>/mdp/xlog/dump Change-Id: I10c2993d9dde6ef16a37256928fff1239e6370ff Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org> [cip@codeaurora.org: Moved mdss_debug_xlog.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: implement compat ioctl for mdss-fbManoj Rao2016-03-23
| | | | | | | | | | | | | | | | Implement an entry point for compat ioctl in mdss framebuffer driver. Implement compat ioctls in a new file. All the fb ioctls that require compat layer translation have been added here. If the user process is from a 32-bit world, then the compat ioctl does an appropriate command conversion to keep the existing ioctl implementation unchanged. Signed-off-by: Manoj Rao <manojraj@codeaurora.org> Change-Id: I24c378116b2504db29ce0b17d690b0e4779426d6 [cip@codeaurora.org: Moved mdss_compat_utils.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Add pr_debug functions to print postproc structuresBenet Clark2016-03-23
| | | | | | | | | Added print functions for the postproc structures to aid in debugging. Change-Id: I14ebb4d00f99f376967dc418112611e31030d21b Signed-off-by: Benet Clark <benetc@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: esd recovery support for 8x10 targetsShivaraj Shetty2016-03-23
| | | | | | | | | | | Add kernel side support for esd recovery for mdp3 targets. The functionality of this driver is to check the panel status periodicaly and send event to HAL if panel has gone bad. Change-Id: I901e2908beb5de3f557da7d75cca876a40532efe Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org> [cip@codeaurora.org: Moved dsi_status_v2.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: cleanup MDP3 driver compilationUjwal Patel2016-03-23
| | | | | | | | | | | Enable MDP3 driver compilation only on chip-sets where MDP3 core is present. This helps reduce the size of kernel binary where MDP3 is not present. Change-Id: I357ff73f91e7ee1654a8666a78efebf68a2a8290 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> [cip@codeaurora.org: Resolve updated file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: cleanup eDP driver compilationUjwal Patel2016-03-23
| | | | | | | | | | | Enable eDP driver compilation only on chip-sets where eDP core is present. This helps reduce the size of kernel binary where eDP controller is not present. Change-Id: I2f201e3258b2b8f2ea224a6d0873852551bf1527 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> [cip@codeaurora.org: Resolve updated file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: abstract the dsi command utility APIXiaoming Zhou2016-03-23
| | | | | | | | | | | | The dsi command parsing and construction functionalities are hardware independent. This is to abstract these utility API, so that it can be shared with different versions of dsi host controllers. Change-Id: I8481d9fd21e5eacc4542c72c064fa37d7fd3a11b Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Check DSI controller status periodicallyDhaval Patel2016-03-23
| | | | | | | | | | | | | | | Send Bus-Turn-Around (BTA) command to check DSI controller status periodically and check the response from controller. Update appropriate response in frame buffer status node if controller is not responding. Sending BTA command is useful for the video/command mode panels when it stops responding during ESD stability tests. Change-Id: Ic8710943c0d56ea013af9ee6d378dabdda75d8f0 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [cip@codeaurora.org: Moved mdss_dsi_status.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Support GCDB on 8x10 target.Dhaval Patel2016-03-23
| | | | | | | | | | | | | | Update dsi v2 driver to use GCDB platform tags and B family panel utility API. This changes supports complete GCDB kernel dtsi tags for 8x10. It also removes the panel v2 driver because switching to B family panel utility removes panel v2 driver usage. Change-Id: I840223279ef3aa6aa8ee364f6c4e03f49e0e2d4b Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [cip@codeaurora.org: Resolved deleted file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* mdss: display: add edp aux channel support toward link trainingKuogee Hsieh2016-03-23
| | | | | | | | | | | | | Edp aux channel is the communication channel between host and client (panel). Host reads edid back from panel and issues dpcd command to panel through aux channel. This patch adds aux channel support so that edp link training can be done. CRs-Fixed: 486135 Change-Id: If29dc8257ecc555296c043f2ebcc6dc5cb400d49 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> [cip@codeaurora.org: Moved mdss_edp_aux.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msmfb: mdss: add mdp3 ppp driverTerence Hampson2016-03-23
| | | | | | | | | | | Enable the PPP block in the MDP3.04 on 8x10. PPP stands for Pixel Processing Pipeline. PPP is used for blitting/composing a frame prior to it being displayed. Change-Id: Ifb33ae71c73a24358acc1bf4cf145fc155ac50ad Signed-off-by: Terence Hampson <thampson@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: hdmi: Add support for CECUjwal Patel2016-03-23
| | | | | | | | | | | | CEC, Consumer Electronics Control, is a protocol that provides high-level control functions between TV and source device. Add support for configuring CEC block within HDMI Tx hw. Also implement an interface to read/write CEC messages to sink device. Change-Id: I9241383a7f928f85208054557f982db5c9d00764 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>