summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm/mdss_mdp.c (follow)
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'msm8998/lineage-20' into lineage-20Raghuram Subramani2024-10-17
| | | | Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
* msm: mdss: mdp: fix parsing total number of displaysVenkata Prahlad Valluru2020-01-27
| | | | | | | | Interpret each interface of INTF_SEL register as 1 instead of respective byte value. Change-Id: I475d9d7770ccfb444264d872f7b279b518e6c1b3 Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* msm: mdss: Fix scalar LUT handlingAnimesh Kishore2018-02-28
| | | | | | | | Add lock to serialize access between userspace and kernel. Fix error handling for LUT allocation. Change-Id: Ie86a8eb3e2a11852ae16d87ebc851afb6566732f Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
* Merge "msm: mdss: Add VIG double buffered CSC capability"Linux Build Service Account2017-08-07
|\
| * msm: mdss: Add VIG double buffered CSC capabilityAnimesh Kishore2017-08-02
| | | | | | | | | | | | | | | | CSC block in VIG pipe is double buffered starting SDM 3.x.x. Change-Id: I720449ae8a4efdcd088696e4fe354948f8a6d031 Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
* | qcom: scm: update function return value and input parameter typeMohammed Khajapasha2017-07-19
|/ | | | | | | | | Update the function return value and input scm_ret variable type for restore secure configuration in scm_restore_sec_cfg() fn. Adding scm_ret input variable for scm_get_feat_version() fn. Change-Id: Ideef914ded8dfdb4c780fd27d7273986eeb41f5c Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
* msm: mdss: apply bus throughput factor for high downscale casesKrishna Chaitanya Devarakonda2017-07-06
| | | | | | | | | | For downscaling a 32 BPP surface with scale ratio greater than or equal to 3.5, it is recommended to increase the mdp core clock by 10%. This is to avoid any stalls on the bus during high concurreny scenarios. Change-Id: I77c8c25c73e4232271a93397e52798a6d5d74cf3 Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
* msm: mdss: disable AVR for msm8998Sachin Bhayare2017-05-16
| | | | | | | Disable AVR as dynamic fps is enabled for msm8998. Change-Id: I4d96984c45de83868f2ea4d324a598edf6d30e94 Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
* msm: mdss: add support for mdss throttle clock handlingSachin Bhayare2017-05-04
| | | | | | | Update mdss throttle clock status based on status of display. Change-Id: Ife21df0c570240c075f039b8d49514bb323021da Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
* Merge "msm: mdss: Ensure MDSS GDSC switched off during FB PM suspend"Linux Build Service Account2017-04-20
|\
| * msm: mdss: Ensure MDSS GDSC switched off during FB PM suspendJayant Shekhar2017-04-17
| | | | | | | | | | | | | | | | | | | | There are some cases where MDSS GSDC is not turned off after FB PM suspend ever after clock ref count is 0 as runtime suspend is not triggered. Ensure that MDSS GDCC is toggled in these cases. Change-Id: I33389ad736960b619b32a9bec4b2b157eed4d20b Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | Merge "msm: mdss: Remove DSC parameters from MDP caps"Linux Build Service Account2017-03-24
|\ \ | |/ |/|
| * msm: mdss: Remove DSC parameters from MDP capsJayant Shekhar2017-03-21
| | | | | | | | | | | | | | | | Remove DSC parameters from MDP Caps for targets where DSC is not supported. Change-Id: Ib26dba1390b4f5112dea422c692f46b11593240e Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | msm: mdss: Enable concurrent writeback featureSravanthi Kollukuduru2017-03-16
|/ | | | | | | | Update mdp caps to enable concurrent write back feature along with the QoS settings required. Change-Id: Ie8368fb327e908a549877b06da0fed5917fc3788 Signed-off-by: Sravanthi Kollukuduru <skolluku@codeaurora.org>
* Merge "msm: mdss: add support for Cx iPeak limit management"Linux Build Service Account2017-02-27
|\
| * msm: mdss: add support for Cx iPeak limit managementRaviteja Tamatam2017-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every client driver participating in Cx iPeak mitigation scheme need to- 1)Register to Cxipeak driver. 2)Set vote for TCSR block before clock switch to fmax-threshold or above through cxipeak API. 3)Remove vote for TCSR block after clock switch to below fmax-threshold through cxipeak API. Changes were made to address the same from mdss driver. Change-Id: I21cba823563d3788ab03c885703f781b5d3e936a Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | Merge "msm: mdss: Fix clocks disable sequence"Linux Build Service Account2017-02-26
|\ \
| * | msm: mdss: Fix clocks disable sequenceBenjamin Chan2017-02-17
| |/ | | | | | | | | | | | | | | | | | | | | When disabling the clocks that MDP depends on during an ON to OFF transition, it is necessary to reverse the clock enabling sequence. Otherwise, the MDSS AHB clock will stuck in a halt state and cannot be turned off. CRs-Fixed: 2004996 Change-Id: I0da7df14e2084701c95fd08585b9a41e0a8cb653 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | Merge "msm: mdss: idle power collapse notify"Linux Build Service Account2017-02-26
|\ \ | |/ |/|
| * msm: mdss: idle power collapse notifyAbhijit Kulkarni2017-02-15
| | | | | | | | | | | | | | | | | | | | | | | | This fix adds notification of idle power collapse to user space for cmd mode panels. Without this fix user space has no knowledge of reprogramming the QSEED3 LUTs after idle power collapse, this needs to be done with the user space knowledge to keep it's LUT bank offset in sync with the HW used LUT bank offset. Change-Id: Ia1fbd07da8c8c854a74cf5dad62f5ec2d1fc962e Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | Merge "msm: mdss: Add mdss capabilities for sdm630"Linux Build Service Account2017-02-15
|\ \
| * | msm: mdss: Add mdss capabilities for sdm630Jayant Shekhar2017-02-10
| | | | | | | | | | | | | | | | | | | | | | | | Add MDSS version info along with other capabilities for sdm630. Change-Id: Ia34831b56c1ca32d17b56e6030c847b629a13a0b Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"Linux Build Service Account2017-02-15
|\ \ \
| * | | msm: sde: Ensure mdp splash cleanup before initiating rotation requestJayant Shekhar2017-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDP and ROT use same Smmu context banks. If rotation request comes when MDP is operating on physical address then fail the request such that composition can fall back onto GPU. Allow HW rotation when MDP switches to Virtual address access. Change-Id: I8662855ddd09d9ca2bb074a0bcc11e759a6809df Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
| * | | msm: mdss: update vbif Qos remapper settings for RotatorRaviteja Tamatam2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotator and MDP share same Vbif. Made changes to apply vbif remapper settings for respective rotator xin id. Also, due to common vbif, register mutex lock is now shared. Change-Id: Ifdfb36ce5c8f26196ab4f8f56487cf135bbd12ce Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | | | Merge "msm: mdss: Fix advertising HDR capability"Linux Build Service Account2017-02-09
|\ \ \ \ | |_|/ / |/| | |
| * | | msm: mdss: Fix advertising HDR capabilityAbhijit Kulkarni2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDR capability is not getting exposed for msm8998. This is happening after the msmfalcon changes got merged. This fix adds the hdr capbility to msm8998 and removes from msmfalcon. CRs-Fixed: 1116049 Change-Id: I81e0b3d90a03db6e655341338e03aea2911de89f Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | Merge "msm: mdss: share MDP smmu device mappings with other mdss clients"Linux Build Service Account2017-02-09
|\ \ \ \ | | |/ / | |/| |
| * | | msm: mdss: share MDP smmu device mappings with other mdss clientsKalyan Thota2017-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotator and MDP share same stream ID on sdm600 target, hence share the smmu device with rotator device to map/unmap its buffers. The change will also handle different secure usecase concurrencies like, mdp running in secure and rotator in non-secure and vice versa. Change-Id: I3ff118baed3984d63e9a9fe94289d99523c7b3e9 Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
* | | | Merge "msm: mdss: fix mdp vbif qos priorities"Linux Build Service Account2017-02-08
|\ \ \ \ | |_|_|/ |/| | |
| * | | msm: mdss: fix mdp vbif qos prioritiesIngrid Gallardo2017-02-06
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver read if any nrt vbif is present and if it is not, the number of qos priority levels gets wiped out, causing the driver not to program the vbif qos priority levels for the rt client. Fix this problem by making sure that if a vbif nrt does not exist in the platform, driver only ignore the nrt settings, but keeps programming the vbif rt. Change-Id: I2fe5eea5a2ff852b22a59cdb0139b17f3dd7c494 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | Merge "msm: mdss: Enable dest_scaler support in mdp for sdm660"Linux Build Service Account2017-02-05
|\ \ \ | |/ / |/| |
| * | msm: mdss: Enable dest_scaler support in mdp for sdm660Rajesh Yadav2017-01-21
| |/ | | | | | | | | | | | | | | Enable destination scaler support in mdp capabilities for sdm660. Change-Id: Iaea5b4501af29e23532bf5a8f81f7f45c7730230 Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
* | Merge "msm: mdss: enforce bimc smmu gdsc power sequence"Linux Build Service Account2017-01-28
|\ \ | |/ |/|
| * msm: mdss: enforce bimc smmu gdsc power sequenceIngrid Gallardo2017-01-24
| | | | | | | | | | | | | | | | | | | | | | Fix the power on/off sequence based on the hw recommendation, where bimc smmu gdsc is powered off after mdss gdsc; and for the power on sequence the bimc smmu gdsc is enabled before the mdss gdsc. Change-Id: Iad005082bcdb07f5529cd5eafd6ecd9c250c9665 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
| * msm: mdss: fix for the mmss gdsc sequenceIngrid Gallardo2017-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current Display driver sets to true the ram status variable shared with the RPM to prevent MMSS GDSC to go OFF only when we are about to disable the MDSS GDSC regulator for the Idle Screen scenario; The potential problem with this is that there is a 4-vsyncs period of time between the end of the display last transaction (ping pong done) and the release of the MDSS GDSC regulator (for Idle Screen) where the Display related clocks are already released and MDSS GDSC regulator is still on (so rpm variable is still false), causing that Xo shutdown (and therefore MMSS GDSC off) can happen while the MDSS GDSC is still active during this period of time. This change makes sure that any time that the MDSS GDSC regulator is enabled or when the MDSS GDSC regulator is disabled but the Display is still active but in Idle Screen, Display sets the flag to ensure that the MMSS GDSC regulator is not disabled by the RPM, flag is released once our MDSS regulator is disabled for Suspend. Also, re-arrange the sequence to make sure the change of the flag happens after we disabled the MDSS GDSC regulator, so we prevent that by any reason the MDSS GDSC could go off before the MMSS GDSC regulator. Change-Id: I141cb893c4e2a54f99e65383e69b4ce88ab4c761 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | Merge "msm: mdss: advertize hdr support on msm8998"Linux Build Service Account2017-01-05
|\ \
| * | msm: mdss: advertize hdr support on msm8998Abhijit Kulkarni2016-12-01
| |/ | | | | | | | | | | | | | | This change advertizes hdr feature support to user space driver on msm8998. Change-Id: I6b81f64d14e472b563e2ee3ea86198be82c58920 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | Merge "msm: mdss: Initialize pan_name array to 0 and handle error case"Linux Build Service Account2017-01-05
|\ \
| * | msm: mdss: Initialize pan_name array to 0 and handle error caseKrishna Manikandan2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the pan_name array to 0 before trying to copy data from mdss_mdp_panel array to prevent junk values being wrongly parsed by strnstr function and return error when panel name is '0', this would let us read the primary panel interface from device tree. Change-Id: I07bfc1f7195f6cc61dfd3e470d2e3e3e43c0049d Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
| * | msm: mdss: check for split display enable in multiple displaysKrishna Manikandan2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'commit 3bf808d38b78b55eb2bf686555a0c2f371eccdf2 ("msm: fb: add mdp foot switch for multiple splash displays")' considers DSI0 and DSI1 as separate displays even if split display is enabled. So the number of displays are calculated as 2 whereas the driver considers this as a single display. This causes MDP clocks to remain ON. This change corrects number of displays calculated by checking for split display. Change-Id: Ie0d3dbbcb93cc86b88a8b903fd1f7ccd89a8a871 Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
| * | msm: fb: add mdp foot switch for multiple splash displaysKrishna Manikandan2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there are multiple splash displays enabled in LK, mdp foot switch needs to perform multiple times. Otherwise, clock resources are not enabled/disabled symmetrically. Change-Id: Iaca1163f44883be9e027460c48bd0ebc0ec2266a Signed-off-by: Camus Wong <camusw@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
* | | msm: mdss: Update WB OT settings for SDM660Raviteja Tamatam2017-01-03
|/ / | | | | | | | | | | | | | | Added changes to update WB OT settings for SDM660 based on QOS recommendations Change-Id: I6a4dfe3f6ef88547c6c67750edb1cd2c2404429e Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | Merge "msm: mdss: Add mdss capabilities for msmfalcon"Linux Build Service Account2016-12-23
|\ \
| * | msm: mdss: Add mdss capabilities for msmfalconRaviteja Tamatam2016-12-21
| |/ | | | | | | | | | | | | | | Add MDSS version info along with other capabilities for msmfalcon. Change-Id: Ide652165711eec23644d36837f3847d896293709 Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | Merge "msm: mdss: Check for handoff pending before IOMMU min BW voting"Linux Build Service Account2016-12-21
|\ \
| * | msm: mdss: Check for handoff pending before IOMMU min BW votingKrishna Chaitanya Devarakonda2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | While voting for minimum BW for IOMMU operations, check for handoff pending flag. If the continuous splash screen hasn't finished handoff, do not vote for BW. Change-Id: Icc10819680b6e5170a322bdf75a98e3c24dde67d Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
| * | msm: mdss: add support for hw_rt bus client for mdssKalyan Thota2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some targets expect a minimum vote on the bus during SMMU and TZ operations. Add a new bus client in mdss driver which will be used to request the additional vote. Change-Id: I0b84479bf892def42c0b59a684a850d8d5c01257 Signed-off-by: Kalyan Thota <kalyant@codeaurora.org> Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
* | | msm: mdss: Fix null pointer dereference and unintialisation of variablesKrishna Manikandan2016-12-02
| |/ |/| | | | | | | | | | | | | | | Add NULL checks before accessing potential null pointers. Also, fix uninitialised variables in MDP driver as they can be accessed with incorrect values. Change-Id: Id8a551fd3bc147c800ee1c98c2bc2b6f3bf6d380 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
* | Merge "msm: mdss: add support to set mdp clock rate before enable"Linux Build Service Account2016-12-01
|\ \ | |/ |/|