summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm/mdss_util.c (follow)
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'msm8998/lineage-20' into lineage-20Raghuram Subramani2024-10-17
| | | | Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
* msm: mdss: move warnings and errors out of mdss spinlockIngrid Gallardo2016-11-08
| | | | | | | | | | | Current display driver prints warnings and errors within the mdss spinlock. This causes in random cases to hold the spinlock for long time when multiple errors are printed; Fix this by moving the print of warning and error messages outside of the spinlock. Change-Id: I09359b528b4742f72a76690930f3d0ed90bb2caa Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* msm: mdss: hide kernel addresses from unprevileged usersAbhijit Kulkarni2016-08-15
| | | | | | | | | for printing kernel pointers which should be hidden from unprivileged users, use %pK which evaluates whether kptr_restrict is set. CRs-Fixed: 987021 Change-Id: Ie49eee9478f4657cfb2a994ba60da1ec4c356339 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* msm: mdss: hdmi: add support for CEC suspend and resume eventsTatenda Chipeperekwa2016-03-23
| | | | | | | | | | | Add support for CEC commands to suspend and resume the device. The HDMI core must be kept on when the CEC wakeup feature is enabled and the device is going into suspend state. Furthermore, interrupts must be enabled in this state to capture CEC commands. This allows the device to be resumed later on via CEC wakeup commands. Change-Id: Ie6fcbc666e4f40335ab8faaa969d4b03aa83e17c Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* msm: mdss: check intr line status before handling isrDhaval Patel2016-03-23
| | | | | | | | | | | | | Hardware might return/call the pending interrupt on one CPU when same interrupt is disabled from other core. Such parallel processing may lead to unclocked register access in interrupt context followed by panic. It is safe to check the interrupt line status before handling isr to avoid crash in such race condition. Change-Id: I460550cb5188c7f77b9f741682917010f9231a50 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
* msm: mdss: handle continuous splash screen for dual DSI casesPadmanabhan Komanduru2016-03-23
| | | | | | | | | | | | | | | | | In the current implementation, the continuous splash screen flag is set based on whether there is handoff pending in MDP or not. With the dual DSI use-case now in place, there is possibility that the primary panel has continuous splash enabled whereas the other panel doesn't have the feature enabled. Add change to take care of this by checking if a particular interface is enabled in MDP_INTF_SEL register to set the cont. splash screen flag. Remove the DT entries for continuous splash screen since it is no longer needed after this change. Change-Id: I4d617386c8f5d166de76b79a10680d024320a889 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> [cip@codeaurora.org: Removed .dtsi changes] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* msm: mdss: Add get pan cfg and get iommu dom to common interfaceShivaraj Shetty2016-03-23
| | | | | | | | | Add get panel configuration and get iommu domain functions to common utility interface. This will make sure that DSI 6G gets the right information on ferrum which has mdp3. Change-Id: Ib5a9d70b8202eaa9e3003475398ecef88dfb573d Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
* msm: mdss: Add iommu and bandwidth changes for dsi 6GShivaraj Shetty2016-03-23
| | | | | | | | msm8909 has mdp3 with DSI 6G. Enable DSI 6G to work with mdp3 and mdp5 while using iommu and bandwidth functions. Change-Id: I0de48dbe388c81ebfade7aeb5592357e2750d143 Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
* msm: mdss: Add support for separate irq line for DSI 6GClarence Ip2016-03-23
| | | | | | | | | | | | In ferrum DSI has an irq line which is different from mdp. Add support for irq handling this case. It makes use of utility functions provided by mdss. Change-Id: Ia6dca1050957f4755b7547f4c1a08ace913c2ac7 Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org> [cip@codeaurora.org: Resolved merge conflict, removed IRQF_DISABLED flag] 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>