When DP node is disabled in the DT file, dp driver is returning
incorrect number of displays connected
Change-Id: I94655ee40cb3785f8186f0eef5f88d3ec4020b09
Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
PM_suspend/resume functionality needs atomic state to be saved during
suspend and needs to be reapplied at resume time. But the state saved
during suspend is partially invalid, so we need to fix it before commit.
Use helper function fom the framework to take care of this.
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Change-Id: I83471c95114c5852d252c866fc4c21aaf4044893
Add checks to fail secure-camera/secure-ui updates on
other displays. Fail updates on primary with
secure-camera/secure-ui layers when other display
session is in-progress. This would avoid all the
concurrency during secure updates.
Change-Id: I7cba4d41e3a0c719e18e27689e48d58c16336fa9
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
while crtc_commit is in progress last_close can be triggered
which accquires mode config locks, hence avoid using lock while
dumping the fence status on connector when lock is already taken.
Change-Id: I4e2032a65b3483dd276a2c82f339016fc2f3a93f
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
Signed-off-by: Shubhashree Dhar <dhar@codeaurora.org>
When continuous splash screen feature is enabled, the display panel
is left on from the bootloader. As part of the transition to kernel,
the backlight level also needs to be handed off. Otherwise, it is
possible that the kernel can inadvertently set the backlight level
to zero and result in what appears like a black screen during
the transition from splash screen to boot animation. Add this support to
read the current backlight level for WLED backlight type and set it
during handoff. For other backlight types, set it to a default
value.
CRs-Fixed: 2248169
Change-Id: Ic003a1432eefbf8b9a34457440f995bbe29f5c9b
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
In case sink issues a link failure or re-authentication request,
tear down the session and re-authenticate to avoid going into
dormant state.
CRs-Fixed: 2292768
Change-Id: I2400188d55ddebcf4dc628412d5832290cfb82c8
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
During secure transition, failure in _sde_plane_set_scanout at
atomic commit stage can lead to unsecure buffer address being
programmed to secure pipe and lead to stage 2 smmu faults.
These failure cases are taken care by inducing solid fill color
on such planes.
Change-Id: I3ba19b040b5a71b7d7f3629de650037f6027b656
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Fix 32 bit compilation issues in display DRM driver.
1) Fix issues of casting integer to pointer of incompatible type.
(Used uintptr_t and u64_to_userptr)
2) Fix stack frame overflow in DP driver.
(Reduce size of variables allocated on stack)
3) Fix Incorrect type used for printing size_t and unsigned long
4) Fix issues with mult_frac and roundup macro due to u64 division.
5) Rework histogram data in PP driver to fix stack frame overflow
Change-Id: Id28f8025f0d2ac49ef3ce3f4a9ba11dff03da0ea
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Ch Ganesh Kumar <chganesh@codeaurora.org>
Signed-off-by: Shubhashree Dhar <dhar@codeaurora.org>
Print command requested for transfer to panel from
debugfs node.
Change-Id: I7f33d7554ebd725a5e735245116c4028ef551aa5
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
* changes:
drm/msm/sde: deprecate force panel dead from connector
drm/msm/dsi-staging: add software simulation of esd failure
ARM: dts: msm: enable ulps for various displays on SM8150
drm/msm/dsi-staging: avoid ulps entry while esd recovery is pending
Increase ahb bus vote on first frame after idle
pc because that will program the complete mdss
register space.
Change-Id: I360d43656f753c70acb51395a978998412354b64
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
In corner case where crtc->planemask and atomic state->planes[]
do not match, driver clears the multirect_index/multirect_mode
in the plane->state during validate failure case. This can lead
to multirect_index/multirect_mode mismatch for next commits during
failure condition.
Change-Id: Idccaa79431469e185ca46c1e40b040427d02a96d
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Sometimes updates from framework comes with slight delay after
early wake up. In such case prevent clock switch off to avoid
frame miss or jank in next update. So, increase the command
mode idle timeout sufficiently to prevent such issue.
Change-Id: I4c92f3cfca5402ee9f6ee29beaf7a32506ac92c7
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Ensure the correct block is flushed when QSYNC settings are
updated. Depending on the HW version, the location of the
Tear Effect module, and the interface mode, either the layer
mixer or the interface must be flushed when QSYNC settings
are changed.
Change-Id: I89b654ec03cbb5df459918a1b9ab345fe5a756ea
Signed-off-by: Steve Cohen <cohens@codeaurora.org>