summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | | Merge "msm: mdss: ensure proper state transition during ULPS exit"Linux Build Service Account2017-03-24
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: ensure proper state transition during ULPS exitSandeep Panda2017-03-20
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During stress environment, sometimes DSI ULPS exit sequence does not work properly. Add memory barriers while programing DSI lane register to ensure proper state transition of DSI lane during ULPS exit. Change-Id: Ib50958cf342bf23ab44f5a9d3bdf60adad824145 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | Merge "msm: mdss: initialize external BL level when fb probe"Linux Build Service Account2017-03-24
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: initialize external BL level when fb probeXu Yang2017-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize external backlight level to -1 when fb probe. This is to make sure the external backlight level is invalid the first time overlay kickoff. CRs-Fixed: 2021142 Change-Id: I973b184903cdb5b378326b23ca5c958e4b868c76 Signed-off-by: Xu Yang <yangxu@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: add checks to fail solid fill with scaling"Linux Build Service Account2017-03-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: add checks to fail solid fill with scalingVeera Sundaram Sankaran2017-03-20
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scaling is not allowed for layers with solid-fill. Add checks in validate call to fail such cases. Change-Id: I02cb2d129d27c6173429fd02b5ff84702936d98e Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: dp: fix check for audio support on the sink"Linux Build Service Account2017-03-23
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | msm: mdss: dp: fix check for audio support on the sinkAravind Venkateswaran2017-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CEA extension block in the EDID data contains a field which specifies whether the sink supports basic audio. Ensure to read this field in addition to the audio data blocks to decide if audio should be routed to the sink or not. CRs-Fixed: 2014586 Change-Id: I556d4bc0b2c95bdf7fd24fd11eafb96394bf03af Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Add lock to avoid release of active session in rotator"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | msm: mdss: Add lock to avoid release of active session in rotatorBenjamin Chan2017-03-16
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mutex lock to protect an active rotator session from being closed. Without the lock, this can happen if a rotator closing IOCTL is called from a separate thread. CRs-Fixed: 2006159 Change-Id: I927a0c626bdae5ef149e12979ec4befdbac1b7f7 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | | Merge "msm: mdss: fix race condition in mdp debugfs"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | msm: mdss: fix race condition in mdp debugfsIngrid Gallardo2017-03-13
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix race condition in mdp debugfs properties during the read and write of the panel and mdp registers. This race condition can cause accessing memory out bounderies. Change-Id: I97a90a154237343d4aaf237c11f525bcc2c3a8e3 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | Merge "msm: mdss: handle ULPS clamp programming for sdm660"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: handle ULPS clamp programming for sdm660Sandeep Panda2017-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For sdm660 the ULPS clamp registers are moved from DSI PHY level to interface level. This change handles the new settings for both video mode and command mode interface. Change-Id: Ib99c605362aa25aacfa394c1a7ffe2886acf7035 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | Merge "msm: mdss: read active line count before triggering BTA"Linux Build Service Account2017-03-21
|\| | | | | | |
| * | | | | | | msm: mdss: read active line count before triggering BTASandeep Panda2017-03-16
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation before triggering BTA, DSI SW waits for extra time to skip display blanking period. Add an additional check for active line count to ensure that BTA is always triggered during display active region only. Change-Id: Ife67f5a38fa9e8df6f8431e9d2b0179c207adeb2 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | Merge "msm: mdss: add support for multiple DSI host escape clk frequencies"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: add support for multiple DSI host escape clk frequenciesAshish Garg2017-03-16
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some panels have low escape clock requirements based on which the host escape clock should be configured. Add support to configure host escape clock based on the panel escape clock. By default, the host would be configured for an escape clock of 19.2MHz. Change-Id: If791ffb4d49dd97424366042ee35bd4ecda5c185 Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
* | | | | | | Merge "msm: mdss: dp: restrict list of supported modes based on link parameters"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | msm: mdss: dp: restrict list of supported modes based on link parametersAravind Venkateswaran2017-03-15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DP sink specifies the maximum per-lane link rate and the maximum lane count that it supports as part of its capabilities. This would limit the maximum data transfer rate that can be supported on the link. Use this information to filter the list of EDID modes to include only the ones that can be supported with the maximum possible link rate. CRs-Fixed: 2018514 Change-Id: I4bc3a339935a49081bd45cb778737116d99ee7c2 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | | | | Merge "msm: mdss: Enable concurrent writeback feature"Linux Build Service Account2017-03-21
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | 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: dp: Fix DP display issue during device boot time"Linux Build Service Account2017-03-19
|\ \ \ \ \
| * | | | | msm: mdss: dp: Fix DP display issue during device boot timeNarender Ankam2017-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If dp driver sends userspace notifications before framework is ready to receive these events, events are lost, due to which display issue is observed. This change fixes this issue. Change-Id: I91eaa824099536a019e084a9665786f0ec4bca1d Signed-off-by: Narender Ankam <nankam@codeaurora.org>
* | | | | | Merge "msm: mdss: disable programmable fetch when not in use"Linux Build Service Account2017-03-19
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | msm: mdss: disable programmable fetch when not in useRaviteja Tamatam2017-03-14
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the resolution switch use case where the active resolution needs prefetch but the new resolution doesnot require it, currently programmable fetch blocks are not disabled if not in use. Change-Id: Ib5ea8ef75308132f5530aaf35aaea53858ea94a2 Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | | | | Merge "msm: mdss: Fix hist sum sanity check issue"Linux Build Service Account2017-03-15
|\ \ \ \ \
| * | | | | msm: mdss: Fix hist sum sanity check issueRajesh Yadav2017-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When dynamic resolution switch is enabled, it may happen that mixer w/h get updated for new resolution before hist for last frame with different resolution is read. This can lead to sanity check failure for hist sum. Fix the issue by clearing the current expected sum and caching sum for next frame. Change-Id: I93734900770a6c97eac66a412710cae217835693 Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
* | | | | | Merge "msm: mdss: Fix source split validation"Linux Build Service Account2017-03-15
|\ \ \ \ \ \
| * | | | | | msm: mdss: Fix source split validationRajkumar Subbiah2017-03-10
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The source split detection logic looks at only consecutive layers in the layer list. This change looks at all previous layers in the list instead of just the previous one. Change-Id: I8b135a10ef1e5062d87c0784515a9eeb6ea4a450 Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
* | | | | | Merge "msm: mdss: Add check to fix null pointer dereference during pipe reset"Linux Build Service Account2017-03-15
|\ \ \ \ \ \
| * | | | | | msm: mdss: Add check to fix null pointer dereference during pipe resetKrishna Manikandan2017-03-08
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During pipe reset, the mixer can be accessed without checking whether it is allocated or not which can result in null pointer dereference. This is fixed by adding a check before accessing the mixer. CRs-Fixed: 1105018 Change-Id: If02d26102fedd9b7dc2a866cc7c6bcdaa447d4f7 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
* | | | | | Merge "msm: mdss: fix secure buffer ref counting"Linux Build Service Account2017-03-15
|\ \ \ \ \ \
| * | | | | | msm: mdss: fix secure buffer ref countingAbhijit Kulkarni2017-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ref counting of the secure buffers. This change releases the ref count on the secure buffers during the free operation. This allows the buffers to be ref counted until hw has done fetching from the buffers. CRs-Fixed: 2012323 Change-Id: Ic24c39e75d502ed73453d0c6d78fd76448737697 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | Merge "msm: mdss: set interface stopped flag properly during suspend"Linux Build Service Account2017-03-14
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: set interface stopped flag properly during suspendVishnuvardhan Prodduturi2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In current implementation while disabling interface, the interface stopped flag is not keeping the correct value. This is causing issues when later if we use this flag during command autorefresh feature disable. So update the flag properly after wiping out display context structure to store correct value. Change-Id: Id2cc64e3f10711b92f8b8f4f36f73f716c9ac831 Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Avoid unnecessary warnings during pipe unstaging"Linux Build Service Account2017-03-14
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | msm: mdss: Avoid unnecessary warnings during pipe unstagingKrishna Manikandan2017-03-03
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases, when the pipe is being unstaged from right mixer, some unnecessary processing is done and warning messages are being printed. This can be avoided by updating the right stage information after unstaging the pipe. Change-Id: Ibeaa1c4bee29d7ac3ae34140bea8d5b7468dbc85 Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
* | | | | | | Merge "msm: mdss: Add support to update backlight when display commit"Linux Build Service Account2017-03-13
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: Add support to update backlight when display commitXu Yang2017-03-07
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add support to update backlight when display commit. Backlight level is sent from userspace. And sync to set PP config, kickoff, and set backlight in the same vsync period. 2. Add support to get current backlight level through sysfs node. Change-Id: Icf264299ecf8edd3831938745a471c2655c23542 Signed-off-by: Xu Yang <yangxu@codeaurora.org>
* | | | | | | Merge "msm: mdss: Disable secure session after Flush for video mode panels"Linux Build Service Account2017-03-13
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: Disable secure session after Flush for video mode panelsKrishna Chaitanya Devarakonda2017-03-06
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For video mode panels, the secure session (display/camera) should be disabled after the Flush. This is to make sure that the secure buffer is no longer being fetched, before disabling the secure session. Change-Id: I9cef6a00fa16f4e23cb5d860548a3502951a7281 Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
* | | | | | | Merge "msm: mdss: fix conditional check for panel LP configuration"Linux Build Service Account2017-03-13
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | msm: mdss: fix conditional check for panel LP configurationVishnuvardhan Prodduturi2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add change to correct the conditional check for entering the panel in and out of LP configurations. Remove the unused enum structure related to panel blank status. Change-Id: Ic1140eafcc7cdd8d64c107bddc824eeca844462d Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
| * | | | | | msm: mdss: enable tearcheck while entering LP1 stateVishnuvardhan Prodduturi2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In current implementation we disable tear check block when transitioning into ultra low power or power off state for doze mode. But it is not enabled back when moving from ultra low power state(LP2) to low power state(LP1), after which updates are expected. This change enables back tearcheck block when transitioning to LP1 from LP2 state. Change-Id: Ic0d8f97752ccf88470da2423f3f8d56a32de227f Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
| * | | | | | msm: mdss: do not report overflow errors during read commandsVishnuvardhan Prodduturi2017-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During a DSI DMA read command transaction, it is expected to have DSI FIFO overflow if the read operation duration exceeds one BLLP line time frame. Make sure not to trigger DSI FIFO overflow recovery sequence for such cases where DSI FIFO overflow error is masked. Change-Id: I0762a0f51d580a44cfa24ffac60cc465c241c733 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
| * | | | | | msm: mdss: clear BTA_DONE interrupt during DSI read operationsVishnuvardhan Prodduturi2017-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cases where DSI DMA done operation is performed but isr is not triggered due to CPU delays, we clear only the DMA_DONE interrupt. There is a possibility of a DSI read operation for DSI command mode panels where the DMA_DONE interrupt is cleared and DSI link clocks are turned off. After some time, the DSI isr gets triggered for BTA_DONE interrupt and since DSI link clocks are off, this causes an interrupt storm due to BTA_DONE interrupt not getting cleared. Clear the BTA_DONE interrupt as well for cases where DMA_DONE operation is done but isr not getting triggered. Change-Id: Iceb02e6dd78f4bbf313e2b4d252d6a30699619f0 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
| * | | | | | msm: mdss: add return values to MDSS recovery eventsVishnuvardhan Prodduturi2017-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the target is in suspend or when shutdown is pending, the DSI recovery need not be taken care of. Add change to handle this case based on the return value of the MDSS recovery events. Change-Id: I5a5cd6743c15cca7ca42a40db7dcd552c95b20b6 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Ashish Garg <ashigarg@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
* | | | | | | Merge "msm: mdss: Validate cursor image size"Linux Build Service Account2017-03-13
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | msm: mdss: Validate cursor image sizeNaseer Ahmed2017-03-09
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check size of cursor image provided by userspace and return error appropriately. Bug: 34125463 CRs-Fixed: 1115406 Change-Id: I31aee3c9219921cf5c4306b36f8708582b838c38 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org> Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>