نمودار کامیت

163 کامیت‌ها

مولف SHA1 پیام تاریخ
Yujun Zhang
86162602c5 disp: msm: dsi: Fix incorrect DSI PHY timing of version 4
For DSI PHY timing of version 4, adds the missing configuation
of phy_clk_params and updates some extra clock parameters.
The less precision during calculation is fixed, which is caused by
not exactly following PHY timing document.

Change-Id: Ibb75d4d3e5b4a5979ff4a85dba1accf3677a6584
Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
2019-06-11 20:00:48 -07:00
qctecmdr
ba12b2cd36 Merge "disp: msm: sde: update ubwc constant color feature" 2019-06-10 19:55:02 -07:00
qctecmdr
a8974603d1 Merge "disp: msm: fix rscc branch offset for lito" 2019-06-10 08:51:30 -07:00
Animesh Kishore
c559230464 disp: msm: fix rscc branch offset for lito
Branch address offset for TCS sleep/wake has
changed for lito, add changes to support it.

Change-Id: Id938c4c85df17f6709b9533ff737cf5a0186bc09
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
2019-06-10 16:43:40 +05:30
qctecmdr
32548d1507 Merge "disp: msm: sde: fix rm/kms for handling all cont-splash cases" 2019-06-08 19:19:55 -07:00
qctecmdr
48b38ad05d Merge "disp: msm: allow DMS before cont-splash handoff" 2019-06-08 17:49:59 -07:00
qctecmdr
e006340c17 Merge "disp: msm: sde: Add additional property for queuing LTM buffer" 2019-06-08 07:22:00 -07:00
qctecmdr
c59a9e5701 Merge "disp: msm: sde: add proper null checks" 2019-06-08 04:21:22 -07:00
qctecmdr
f65de277fb Merge "disp: msm: sde: delay backlight update until the first commit" 2019-06-08 00:51:34 -07:00
qctecmdr
35c254dd81 Merge "disp: msm: sde: Update gamut non-uniform support" 2019-06-07 21:21:10 -07:00
gopikrishnaiah Anand
e62d075693 disp: msm: sde: Update gamut non-uniform support
New version of the gamut block has been introduced with changes to
the scale/offset programming. Change updates the minor version for
the feature.

Change-Id: I62597a9d229e13e10e0ac0f1183b2db2b0b2a575
2019-06-07 11:17:10 -07:00
Samantha Tran
005b2d46d0 disp: msm: sde: add proper null checks
This change adds proper null checks after using
kcalloc and returns early to avoid accessing null ptr.

Change-Id: I948ad37eb120e00c5f6e3ae2e3b967819cbd233b
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
2019-06-05 16:32:47 -07:00
qctecmdr
9d87e36a77 Merge "disp: msm: add changes missing during snapshots" 2019-06-04 23:42:23 -07:00
qctecmdr
90ae258727 Merge "disp: msm: dp: add 1.4a cts support for link training" 2019-06-04 10:22:59 -07:00
qctecmdr
eddbcba8a5 Merge "disp: msm: dp: link training enhancements" 2019-06-04 07:37:12 -07:00
qctecmdr
371ccc78c2 Merge "disp: msm: sde: fix encoder parsing in atomic_check phase" 2019-06-04 06:15:13 -07:00
qctecmdr
a384fb7f72 Merge "disp: msm: sde: Fix open method in sde_reg_fops and sde_off_fops" 2019-06-04 04:36:48 -07:00
qctecmdr
5a495e6138 Merge "disp: msm: sde: use local_clock in sde event log" 2019-06-04 01:03:19 -07:00
qctecmdr
bd0467d1d5 Merge "disp: msm: sde: remove vblank cache logic" 2019-06-03 23:21:29 -07:00
qctecmdr
0b1886cb06 Merge "disp: msm: sde: turn off/on vblank callbacks as per crtc" 2019-06-03 21:51:47 -07:00
qctecmdr
e162550a2c Merge "disp: msm: sde: avoid wb done wait for cwb in wait_for_commit" 2019-06-03 20:22:04 -07:00
qctecmdr
b4add676a4 Merge "disp: correct secure id to hold vaddr" 2019-06-03 16:52:32 -07:00
Veera Sundaram Sankaran
89511222a6 disp: msm: sde: fix encoder parsing in atomic_check phase
During atomic_check phase the encoder_mask is taken
from old crtc->state leading to wrong validation.
Fix it by taking the encoder_mask from new crtc state.

Change-Id: Ifcfc4bee887168d8208ffdafb1cf5ea4c4473796
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2019-06-03 15:46:36 -07:00
qctecmdr
04e4ba8741 Merge "disp: msm: sde: avoid multiple frame-done encoder events" 2019-06-03 14:35:11 -07:00
Dhaval Patel
df2fbca4b8 disp: msm: sde: avoid wb done wait for cwb in wait_for_commit
Existing cwb implementation waits for WB done interrupt in
wait_for_commit_done API call. This serializes the cwb commit
and causes frame trigger delay on primary display. MDSS hw allows
to trigger the cwb frame when previous frame is in-progress. This
change updates driver to allow parallel frame trigger for cwb
enabled display. It releases frame N cwb output buffer in frame
N+1 wait_for_commit done call.

Change-Id: Id4f2a0cc78a3f24a1b5ce96dc907780246768dbf
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2019-06-03 10:04:19 -07:00
Samantha Tran
1ab07a4d7c disp: msm: add changes missing during snapshots
This change ports the missing changes from 4.14 to 4.19
that were missed. It includes changes up until
commit 0f8fb25421ff ("cnss2: Add device version to
SOC info structure").

Change-Id: Idfdfe891f146e389e3c65cc3fc4c98d93220e789
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
2019-06-03 09:07:38 -07:00
Ajay Singh Parmar
aa11061eed disp: msm: dp: add 1.4a cts support for link training
Add support for new requirements in 1.4a CTS which need
to try link training 1 on different lane counts and link
rates.

CRs-Fixed: 2458753
Change-Id: I2039822f420a73232df7293afcddd7bee263c7b4
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2019-06-02 19:02:18 -07:00
Ajay Singh Parmar
91b9fb1222 disp: msm: dp: link training enhancements
Update the link training process along with the AUX
communications during link training as per hardware
recommendations.

Update the pre-emphasis and swing values for active
lanes only instead of all lanes.

During link training, update pre-emphasis and swing
values in hardware first and then update sink.

CRs-Fixed: 2458753
Change-Id: Ie05c9d6508b0c564b194032ae4ebb1bc5550e7b8
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2019-06-02 19:01:21 -07:00
qctecmdr
2eeed8c7ff Merge "disp: msm: dp: update swing and pre-emp with new hardware settings" 2019-06-01 03:51:15 -07:00
qctecmdr
b84d2c5ad0 Merge "disp: msm: sde: dynamic lm reservation for secondary disp" 2019-05-31 16:20:33 -07:00
Veera Sundaram Sankaran
8b8fbfbeef disp: msm: sde: fix rm/kms for handling all cont-splash cases
Fix resource and splash buffer handling in resource manager
and sde_kms to support continuous splash to be enabled/disabled
independently in multiple built-in display usecase.

Change-Id: I446ea9b08a794e2b053c37f55b31e51404bbcf71
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2019-05-31 15:58:40 -07:00
Lakshmi Narayana Kalavala
a4570ec11b disp: msm: sde: Fix open method in sde_reg_fops and sde_off_fops
The open method for the debug fops are supposed to extract
the appropriate register base for the corresponding
hardware blocks, which are later used for the register
read and writes for the associated hardware block. But
the current open method being used points to some random
register base which can lead to fatal issues when performed
reads and writes to registers. Hence implemented a new
open method to extract the appropriate register base of the
various mdp hardware blocks. This patch also fixes
the valid sub range check against the corresponding
hardware blocks instead of checking across all the hardware
blocks.

Change-Id: I2a08fae74b3cbd31f2931c3b89b7308feb4b84e8
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2019-05-31 14:47:35 -07:00
qctecmdr
f0d4d74c9e Merge "disp: msm: dp: add support for lane count reduction" 2019-05-31 13:21:07 -07:00
Jayaprakash
3b2d537a71 disp: msm: sde: update ubwc constant color feature
Disable ubwc constant color feature only when inline
rotation is enabled regardless of color format.

Change-Id: I8d1e73bf955d9796823947cc8b5fbc2a176b91d3
Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
2019-05-31 17:33:24 +05:30
Lakshmi Narayana Kalavala
70486d209c disp: msm: sde: remove vblank cache logic
Userspace is not supposed to request vblank until crtc is enabled,
because drm framework rejects the request if crtc is not enabled.
Any vblank request prior to that need to be cached in the userspace.
Hence removing the cache logic from the downstream driver.

Change-Id: I78ceee331cba2d691f68fd649bd5cf33f7868e72
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2019-05-30 16:22:59 -07:00
Lakshmi Narayana Kalavala
5fd0d8d44b disp: msm: sde: use local_clock in sde event log
The display driver uses ktime_to_us to timestamp the messages
in the sde event log. But the kernel logs use local_clock to
timestamp the messages. Using same timestamp routine in sde event
log helps to correlate the messages from both the logs
for debug purpose.

Change-Id: Id94e03ba21f82e2162e4ef4290c10d2d09110d4c
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2019-05-30 16:17:48 -07:00
Lakshmi Narayana Kalavala
9e17babe6a disp: msm: sde: turn off/on vblank callbacks as per crtc
Current sde driver allows vblank enable and wait requests
even after crtc is disabled which would eventually lead to
enable of irq and timeouts in caller context. This change fixes
it by updating vblank callback status as 'on' during crtc enable
and shutdowns vblank callbacks before crtc disable is complete.

Change-Id: I52b74f685107f4dc8c83305c28f23cdcb4747730
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2019-05-30 16:13:09 -07:00
Veera Sundaram Sankaran
bce30d62b7 disp: msm: allow DMS before cont-splash handoff
Currently dynamic mode-switch is allowed only after
the cont-splash handoff is handled during the first
frame. Remove this restriction for cmd-mode alone as
it can handle the use-case.

Change-Id: I5f9dc758f50a91fec0b9f710c74f2ea78c4e75eb
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2019-05-30 15:26:44 -07:00
Veera Sundaram Sankaran
b8b095b57d disp: msm: sde: avoid multiple frame-done encoder events
Currently there is a race condition in checking the
pending_kickoff_cnt in wr_ptr_irq wait from display-thread
and pp_done_irq from interrupt context. In both places,
pending_kickoff_cnt is read first and modified later. In
partial update cases where the frame-transfer is short,
such a race condition might happen and would lead to both
triggering the frame-done/release fence for the same frame.
Fix it by combining read/modify to one statement in both places.

Change-Id: I9162e7dc3f12af3590514f1ebfd68023aa920181
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2019-05-30 15:24:54 -07:00
Ping Li
6ccf6c045e disp: msm: sde: Add additional property for queuing LTM buffer
Add 3 properties for queuing LTM histogram buffers to remove the
limitation that we cannot send two buffers back in the same display
commit.

Change-Id: Ia37c6d9e7faa6b5a086a9737e20c44eed865c66d
Signed-off-by: Ping Li <pingli@codeaurora.org>
2019-05-28 13:37:11 -07:00
Samantha Tran
d025293ae2 disp: correct secure id to hold vaddr
This change corrects the secure id to hold vaddr
instead of paddr.

Change-Id: I021f5c0c7708eb2a0b166fe3a6c13b11aaf33419
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
2019-05-28 10:46:31 -07:00
qctecmdr
5af1fe1891 Merge "disp: msm: dsi: program DSI_PHY_CMN_CTRL_4 register" 2019-05-24 16:13:15 -07:00
qctecmdr
9c05197ef9 Merge "disp: msm: sde: use wr_ptr interrupt instead of ctl_start" 2019-05-24 09:38:19 -07:00
Nilaan Gunabalachandran
52855c704a disp: msm: sde: dynamic lm reservation for secondary disp
Primary and secondary displays should have first priority
when reserving lms. Static reservation can potentially block
higher resolutions for the required displays. This patch gets
the layer mixer requirement for primary or secondary display
if available. It reserves those layer mixers dynamically
for the respective display when connector is registered.

Change-Id: Id69dac4c72d6b20008049f4aeb71c0f97d0a426b
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
2019-05-24 06:35:07 -07:00
Ritesh Kumar
d9448326ce disp: msm: dsi: program DSI_PHY_CMN_CTRL_4 register
For some phy ver 4 chipsets, DSI_PHY_CMN_CTRL_4 needs to be programmed
in normal power up sequence. This change adds support to program the
same based on minor phy version.

Change-Id: I68bed48ca671f540efafd13f8d56c7e90de8b25c
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2019-05-24 02:54:07 -07:00
qctecmdr
06f8bcc142 Merge "disp: msm: dsi: add debug support to configure clock gating" 2019-05-23 21:54:20 -07:00
qctecmdr
30b14e8caf Merge "disp: msm: dsi: block TE signal check for ESD on video mode panels" 2019-05-23 19:36:19 -07:00
qctecmdr
15959feb73 Merge "disp: msm: sde: fix logging in crtc and kms" 2019-05-23 18:17:37 -07:00
qctecmdr
d37cbd374b Merge "drm/msm/dsi-staging: update dsi clock calculations" 2019-05-23 16:40:53 -07:00
Ajay Singh Parmar
de5f4d652e disp: msm: dp: add support for lane count reduction
Add support for lane count reduction as per the new requirements
for DP 1.4a during link training 2.

CRs-Fixed: 2458753
Change-Id: I58c9b6101338e8a1d1b4e3dec80f8fdf2a25ae5b
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2019-05-23 14:30:37 -07:00