DP pixel RCG clock has multiple parents as per the clock plan
and doesn't have a fixed frequency table defined in the common
clock driver. For targets which use common clock framework like
SDM660, the parent of such RCGs need to be set by the client
itself. Add support to set the parent of DP pixel RCG clock.
Change-Id: I00ec66725ab40de28db84593c111d402a7bd7ac8
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
If there is IB2 address overlap with IB object list,
driver is dumping pending dwords size of active IB2
data into snapshot. Fix this by updating IB2 size
while active IB1 parsing instead later point.
Change-Id: Ibb12a876ebf73846424232ef28e00d3dc9f9be59
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
LSM will connect to ADM to apply preprocessing and improve
detection performance. LSM can also directly connect to AFE
similar to the existing mechanism.
MAD polling will be disabled in case of LSM connects to ADM.
Add EC reference end channel, bit format and sample rate control
to configure far end params for Echo Cancellation.
Change-Id: I4684ae346884d656e95350b7a63929b91a843512
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
Add support for nt35695b truly 1080p video mode and
command mode panel on sdm660.
Change-Id: I655c6820fd2b203e08a3aa7871d8780995a9bcdb
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
Add timestamp support in cases where event status requires
timestamp corresponding to detection.
Timestamp mode is not supported currently in CPE SVA.
Change-Id: I157c77bba5aa2b9d0cc9dcbdfaba405554301611
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
Polling needs to be disabled when LSM connects to ADM.
Add interface to enable or disable polling through
set_params. Add support to set port.
Change-Id: If027418a6d8a1ea48dcb6a0c146f68e7dd7a2664
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
Update the unmap of registers in pdata before
devm_kfree of pdata.
CRs-Fixed: 1117277
Change-Id: I9819868fb2f24a4786a81ff8d818e129bac50f97
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Return queued buffers from driver on streamon failure as
vb2 expects driver to return all buffers queued before
streamon.
Change-Id: Id8280d513f9f6233976a5d07af83f386dfd9f5cd
Signed-off-by: Surajit Podder <spodder@codeaurora.org>
Remove 300 MHz entry from the cpufreq node which is used
for the OSM on SDM660 target.
Change-Id: I4e022a72ad04feff07fe04d115d3cc33bd88ad9f
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Add a DT property to specify DP PHY register offset for display
port. There is a register offset difference for a few DP PHY
registers between msm8998 and SDM660 and hence this is needed.
Add changes to program DP PHY registers by accounting for this
register offset difference wherever applicable.
Change-Id: I515432830ae6c3fa3223f0c97af7b0a3965afc40
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Display port settings for logical to physical lane mapping and AUX
configurations are different between msm8998 and SDM660. Add support
to parse these settings from MDSS DT file. Add the relevant settings
for the same in msm8998 MDSS device tree node.
Change-Id: I5046b2523928e34ef42924f495dfc754d9ac6ea7
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
Add missing switch mixer controls to ensure all DAPM routes are fully
implemented and supported.
CR's-fixed: 1113456
Change-Id: I98df5983228f7353f7928b643c7b183481331d27
Signed-off-by: Siena Richard <sienar@codeaurora.org>
During a pagefault we print trace with the fault
information which gets delayed by unacceptable
time. It happens due to the the code that searches the
faulty address in the recently freed addresses for a matching
entry.
Moving it to new position wont have any impact on debugging
instead trace is dumped without any delay.
Change-Id: I11487798b60742096e06605cf3046b4cfc8cc057
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
Calling mdss_fb_set_backlight when current back light zero
to update bl scale will reset the unset_bl_level to zero.
This affects ESD recovery as unset_bl_level is not updated
on recovery path. Hence avoiding calling mdss_fb_set_backlight
through mdss_bl_scale_config when current backlight is zero.
CRs-Fixed: 1115920
Change-Id: I4e3297604a4585233c075f9ca08a6f8f527b0438
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
Fixes the issue where the job could have been scheduled with request
that was about to be released thus causing crash with stale pointer.
Change-Id: I4ed1f08ed810303738c05d08f27a8ea21ba1e4f7
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
As Al pointed, d_revalidate should return RCU lookup before using d_inode.
This was originally introduced by:
commit 34286d6662 ("fs: rcu-walk aware d_revalidate method").
Change-Id: I81999f7b4651d7dd64695c94d15561dfdcec851b
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: stable <stable@vger.kernel.org>
Git-commit: 03a8bb0e53d9562276045bdfcf2b5de2e4cff5a1
Git-repo: git://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git
[andreym@codeaurora.org: resolve merge conflicts,
fs/crypto/crypto.c does not exist in current branch,
had to omit it]
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>