Age | Commit message (Collapse) | Author |
|
SBMerger: 442815275
Change-Id: I0f20512b785bd9800aba7b843fc0536a9fa6ff40
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Large allocations using kzalloc can lead to timeouts. This updates
the allocation calls accordingly to use vzalloc/vfree to remove
and manage requirements on contiguous memory.
Bug: 231528346
Change-Id: I9592f5b612d7b368ba3e389308f047a624355e99
Signed-off-by: Raghavendra Ambadas <quic_c_rambad@quicinc.com>
(cherry picked from commit 3127869dd5b4a343bee6ae6eb89bbc147a26f483)
|
|
'qcom-msm-4.19-7250' into android-msm-pixel-4.19
Bug: 223958127
Signed-off-by: JohnnLee <johnnlee@google.com>
Change-Id: I277f8aed8e8d285a4214a812631fbb5795418ba5
|
|
Add early_wakeup_show function to avoid the read attribute function fail for libperfmgr in power HAL
Bug: 184089731
Change-Id: I0b3c9a648b537c79d57eee36372fa19ca56870de
Test:
1. cat /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-0/early_wakeup success
2. No "Failed to read node path: /sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-0/early_wakeup" message in bugreport file
|
|
Change-Id: Ibe92346b998ae84a67160ee85f4968c812a416c2
|
|
'qcom-msm-4.19-7250' into android-msm-pixel-4.19
Conflicts:
msm/dsi/dsi_panel.c
msm/dsi/dsi_panel.h
msm/msm_drv.c
Bug: 210578498
Signed-off-by: JohnnLee <johnnlee@google.com>
Change-Id: I6aba60287ffc66030afd510a16d97e473408beba
|
|
SBMerger: 410055097
Change-Id: I01df3a7c841393b2a6d0cb479d944434807be357
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
Signed-off-by: Lucas Wei <lucaswei@google.com>
|
|
SBMerger: 410055097
Change-Id: Ic9d603e34d5284a64154882bcfd2970c7c91111b
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: Ib371281e788fa1ac30582176d487edd1fefa0e42
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 410055097
Change-Id: I462da6f1e3466f3e8c0695d5cee8a5097b974e18
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
android-msm-barbet-4.19-sc-v2
Apr 2022.1
Bug: 215313369
Signed-off-by: Harrison Lingren <hlingren@google.com>
Change-Id: I8d741f34de17b824583e7a8aa2ff2fa1b45c950e
|
|
android-msm-pixel-4.19-sc-v2
Apr 2022.1
Bug: 215313369
Signed-off-by: Harrison Lingren <hlingren@google.com>
Change-Id: Ibfec28b04e90fbb93cfe8be01793329855b6d92a
|
|
|
|
|
|
In RSC disabled targets during display bootup with continuous
splash constant ab and ib votes are set. Upon issuing first
commit these values gets updated and at the end of first commit
on release of splash resource the votes are removed using
sde_power_data_bus_set_quota API. On the very next commit if
bandwidth is changed from previous commit, new BW voting is
reflected else the disable splash vote exists and underruns are
seen. This patch removes the downvote and fixes the underruns
seen in video mode in targets for which rsc is disabled.
Change-Id: I628d426ad11c703dd972be89fa998588c53a57bb
Signed-off-by: Mahadevan <quic_mahap@quicinc.com>
|
|
Change fixes adding quic copyright as instructed.
Change-Id: I2331492b78c013969fa1d48e9ab9afdb03e2f999
Signed-off-by: Raghavendra Ambadas <quic_c_rambad@quicinc.com>
|
|
Access file private data structures inside the
mutex lock only to avoid use-after-free issues .
Bug:213239835
Change-Id: If70731f517bcb47d4515f131fecafe702064cb45
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: linjoey <linjoey@google.com>
|
|
Drm file is not set to NULL after freeing it from drm
release. This can result in use-after-free issues in
some scenarios. Add a mutex lock and other proper null
checks to prevent such issues.
Bug:213239835
Change-Id: Ic35b0a76166b0f47a354b1737e6f4c3ac1437ed4
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: Althaf Neelanchirayil <aneelanc@codeaurora.org>
Signed-off-by: linjoey <linjoey@google.com>
|
|
Access file private data structures inside the
mutex lock only to avoid use-after-free issues .
Bug:213239835
Change-Id: If70731f517bcb47d4515f131fecafe702064cb45
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: linjoey <linjoey@google.com>
|
|
Drm file is not set to NULL after freeing it from drm
release. This can result in use-after-free issues in
some scenarios. Add a mutex lock and other proper null
checks to prevent such issues.
Bug:213239835
Change-Id: Ic35b0a76166b0f47a354b1737e6f4c3ac1437ed4
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: Althaf Neelanchirayil <aneelanc@codeaurora.org>
Signed-off-by: linjoey <linjoey@google.com>
|
|
Currently we are enabling all the lanes irrespective of the
lanes we are actually going to use. Add support to enable
only those lanes that are required and thus save power.
Change-Id: I9aae76eeaa05a79337d4e4b1f2e36ea9842bd580
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
|
|
DCS commands triggered right after timing engine enable can conflict
with blanking period causing command transfer failures. Right after
timing engine enable poll for frame start and line count reaching
active region of display before any DCS commands.
Change-Id: Ia3967e01c3bb5bc82aa3549c300fa8335e00210c
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
|
|
|
|
With requirements to support an increased number of display modes,
the current size of sde_kms_info is insufficient. This change
increases the sde_kms_info max size.
Change-Id: Ie0f29003732870dad9ce31ee7d484e84f12ba542
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
|
|
Change-Id: I85759273f605c3e1a9570ec217fcb504dd69bab1
|
|
In dual display usecase when both displays comes out of
idle following scenario will cause wr_ptr timeout.
1. Both displays goes to idle and RSCC enters Mode-2.
2. Primary display exit idle upon DRM commit N RSC
enters Solver State.
3. Secondary display exits idle upon DRM commit M and
waits on input fence after CTL_1_PREPARE is set.
RSC is still in CMD state.
4. Primary Commit N frame transfer got successful and
commit N+1 is queued in primary display when RSC
in solver state which leads to timeout in primary.
This is because RSCC will not generate a wakeup in sync with
primary timelines leading to timeout. This is because RSCC
still sees idle low thinking frame transfer is taking long
time. This change will switch the rsc state to AMC mode
before CTL_PREPARE is set which resolves such issue.
Change-Id: Ic32e48b4febbbcc54d94876194d38fe6ef3d0981
Signed-off-by: Mahadevan <mahap@codeaurora.org>
Signed-off-by: Raghavendra Ambadas <quic_c_rambad@quicinc.com>
|
|
Change-Id: Ib67a8e7b33f4b5c33608e9c310a34a300df41e98
|
|
Access file private data structures inside the
mutex lock only to avoid use-after-free issues .
Change-Id: If70731f517bcb47d4515f131fecafe702064cb45
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
|
|
|
|
Add logic in DP driver to parse "label" dt property.
This info will be useful to configure DP as primary
or secondary.
Change-Id: I708179c5940c82256034bc6c8338b01ee52f2f79
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
|
|
This change handles partial update use case transitions. Rounded
corner should be programmed to full ROI when transitioning out of
partial update use case.
This change also clear cached ROIs when rounded corner feature is
disabled to ensure full frame ROI for first frame when feature
is enabled again. This change depends on HAL change to disable PU
for one frame when RC mask config is set.
This change also moves cached rectangles from crtc state to crtc
structure to avoid cached rectangles being incorrect due to race
conditions between updating cached rectangles in crtc state and
duplicating crtc state when next commit starts.
Change-Id: I4c48ccd3f64409d1b0fa19f0e6f92eab5f86d099
Signed-off-by: Anjaneya Prasad Musunuri <aprasad@codeaurora.org>
|
|
|
|
SBMerger: 379283923
Change-Id: Ib0552c64c0916cff98faa274b583713a5604cc18
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 379283923
Change-Id: I7f13ab5bb0435403c035276bac67af1242d08c6b
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Nov 2021.1
Bug: 198397628
Change-Id: I31883ee9614843a2df8081e3b00a4ed9b0c871e8
|
|
Currently, driver expects usermode to set RC blob flags based on
the RC PU use case, which causes issue when commits are staggered
and is unnecessarily reprogramming RC mask data on every PU frame.
This change uses existing driver logic to internally determine the
RC PU use case and programs the RC region enable bits accordingly.
It also adds essential logging in RC functions to help debugging.
Change-Id: I19ae59a79dbee20f357b384c12acd7d2a6a93fb4
Signed-off-by: Anjaneya Prasad Musunuri <aprasad@codeaurora.org>
|
|
Clear partial update mask during last close to avoid
rounded corner to be programmed without valid mask during
shell stop/start operations.
Change-Id: I378adc62b5bc5913abfc32fa3528c8e28ea273d4
Signed-off-by: Anjaneya Prasad Musunuri <aprasad@codeaurora.org>
|
|
For the targets not having slave pll, "slave pll unavailable"
warning gets logged on suspend, resume and idle power collapse.
Change pr_warn to pr_debug to avoid extra logging.
Change-Id: I2f06d88f3ea8ceb03e30095439c24a6729daae97
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
|
|
Alloc pps command once when boot up. It could let
dsi_panel_debugfs_read_cmdset access and avoid use after
free.
Bug: 187851056
Change-Id: I91ec5cb265059cbd667bb2b562ea1433f5d03d84
Signed-off-by: raylinhsu <raylinhsu@google.com>
|
|
This change updates rsvp_cur pointer to latest to avoid use
after free issues. rsvp_cur pointer can be freed in few cases due
to the unlock, wait and lock of rm_lock present in
_sde_rm_poll_get_rsvp_nxt_locked.
Change-Id: I389048188e8a615edc3e75dd1102d4ca8c74af65
Signed-off-by: Jayaprakash Madisetty <jmadiset@codeaurora.org>
|
|
Bug: 194667419
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: Ib7ebc608b51e899086c344380ba78bd9363d1b49
|
|
|
|
|
|
During mode enable after idle, rsvp next would be set without
rsvp cur. Back to back test only should be serialized, but currently
this would be possible right after idle. This is established by
commit 11aab5f9c382 ("disp: msm: sde: Fix null dereference errors").
This change updates the condition to poll for rsvp next clear
during this usecase as well.
Change-Id: I300254967cbec69fff8b31545b8d659afc56f283
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
|
|
Drm file is not set to NULL after freeing it from drm
release. This can result in use-after-free issues in
some scenarios. Add a mutex lock and other proper null
checks to prevent such issues.
Change-Id: Ic35b0a76166b0f47a354b1737e6f4c3ac1437ed4
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: Althaf Neelanchirayil <aneelanc@codeaurora.org>
|
|
|
|
At present, code is checking only for MSM_REQ_ACK flag which is set for
read commands and ignores all other flag states.
This fix takes all the different states that are configured as the DSI
Command MIPI Flag states and sets it.
Also, added the backlight brightness control support with different DCS
command(0xC2) to update backlight brightness.
Change-Id: I689e902e7d997afcb629084e89e42361bf1c685b
Signed-off-by: Rajesh Bharathwaj <rajeshbharathwaj@codeaurora.org>
|
|
|
|
|
|
Add support for hardware based rounded corner part of
color processing framework.
Change-Id: Ie05c5ecba6bd0323d1c8fd6949e12cec1f56b477
Signed-off-by: Anjaneya Prasad Musunuri <aprasad@codeaurora.org>
|