| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
CSC block in VIG pipe is double buffered starting
SDM 3.x.x.
Change-Id: I720449ae8a4efdcd088696e4fe354948f8a6d031
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
|
| |/
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Disable AVR as dynamic fps is enabled for msm8998.
Change-Id: I4d96984c45de83868f2ea4d324a598edf6d30e94
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
|
| |
|
|
|
|
|
| |
Update mdss throttle clock status based on status of display.
Change-Id: Ife21df0c570240c075f039b8d49514bb323021da
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Remove DSC parameters from MDP Caps for targets
where DSC is not supported.
Change-Id: Ib26dba1390b4f5112dea422c692f46b11593240e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |/
|
|
|
|
|
|
| |
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>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add MDSS version info along with other capabilities
for sdm630.
Change-Id: Ia34831b56c1ca32d17b56e6030c847b629a13a0b
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| |\ \ \ \
| | |/ /
| |/| | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| |\ \ \ \
| |_|_|/
|/| | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Enable destination scaler support in mdp capabilities
for sdm660.
Change-Id: Iaea5b4501af29e23532bf5a8f81f7f45c7730230
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
This change advertizes hdr feature support to
user space driver on msm8998.
Change-Id: I6b81f64d14e472b563e2ee3ea86198be82c58920
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'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>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Added changes to update WB OT settings for
SDM660 based on QOS recommendations
Change-Id: I6a4dfe3f6ef88547c6c67750edb1cd2c2404429e
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Add MDSS version info along with other capabilities
for msmfalcon.
Change-Id: Ide652165711eec23644d36837f3847d896293709
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/
|/| |
|