Update copyright line to "The Linux Foundation" and
year.
Change-Id: I1bdd64bebb77f41555f1057132ad3a060874bb11
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Currently there is no easy way to detect the device name based on
the bus or device sysfs properties.
Implement MODEL_NAME property to identify the parallel charger.
Change-Id: I8134b415a2b36e249b098f4b61d4dd8415008cfa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
release app list entry when __qseecom_get_fw_size() returns error.
Change-Id: I82406c39a2def87395811f442f39b57201766091
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
The PMIC alarm type sensor is named wrong in the sensor information.
This will prevent thermal-engine from monitoring this sensor.
Update the sensor information to specify the right sensor name for
msm8998.
Change-Id: Ic11a37031e085e29c2f19be6f80f1a7c9ed4b79c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
If the rate of the clock being measured changes at the same
time clock_debug_measure_get() is called, there can be a
miscalculation of the value of the divider between the
measurement circuitry and clock output. Acquiring the prepare
lock fixes the race since it prevents clock rate changes during
measurement.
CRs-Fixed: 1109789
Change-Id: I51050379a45a51c22109a06bc4758d767f361da1
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Bus driver requires to set the QoS parameters like QoS mode
and priorities, so enable the QoS parameter programming and
also add the required clocks for QoS register access.
Change-Id: Ie2f4e054f4fc16b5c33233321e8761f999db7c46
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Try to allocate pages from lower order mempools incase
if requested memory size order does not match with the
available mempools.
Change-Id: Idbe4dae3b8bb2a3165199b6959ad4fbf36559964
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
During GPU snapshot dump path, a5xx_snapshot() tries to
capture preemption record without really checking on the
availability of preemption feature.
Add a check for preemption feature and then proceed.
Change-Id: I6ee23a1d8006ba18a25fb341bb88d8944ff054b7
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Fix spinlock usage in bam2bam_data_resume_work handler that could
cause error reported by static analysis tool.
Change-Id: I15bbb5abc98452fcfed2d98547a859a355a391d9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
A512 GPU clock plan is revised hence need to adjust IB
bus votes for respective GPU power levels. Update GPU
bus votes as per new GPU clock plan for SDM660.
Also adjust GPU IB votes as per dual channel DDR
recommendation.
Change-Id: Ia68bd5dee8bf9d037510877c647c5c3a74bdce99
Signed-off-by: Mihir Patel <mihirp@codeaurora.org>
This patch fixes the possible deadlock during processing
of feature mask between different peripherals.
CRs-Fixed: 1101672
Change-Id: I4d4223275c03017ef367bafa8e55be1803b9a750
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Remove redundant check for port in qti_ctrl_write() which is not
required.
Change-Id: I8825b52156d722772759d2ae10f2b8bbd4d18417
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Currently opts variable in rndis_qc_set_alt() is used without
initializing it. This could cause error reported by static analysis
tool. Hence fix this by initializing the variable before accessing it.
Change-Id: I77a42464e351f4e9886250315423ae355ff43617
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.
CRs-Fixed: 891650
Change-Id: I79ce3967533d2a7cb7591ccfe50b095a540e9884
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Reverting the changes provided to improve small transfer rate.
Change-Id: Ifc1ae0ccbd0f991523f4715fbb1ff9951b268986
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.
Change-Id: I3496811f52af79e8dccb701b2753a81f5d5a2340
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Service UP/DOWN indication logs are critical during boot or PD restart
to understand the communication between application processor and remote
processor.
Change-Id: Ie372f00ae032e9a5697c2eb6ef6ed65de9849933
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Add 274.29 MHz as a supported frequency for the csiphy_clk_src RCG
on MSMCOBALT v2.
Change-Id: I2eb5fc2cdce08c67f165be9094c88f454f0de4a1
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
For some use cases like running compliance test, it might
be necessary to disable hdcp. Add a sysfs node to allow
user to take action to enable/disable hdcp for such use
cases.
Change-Id: I8b9ae6d6d4e750be97fece172f635847ad2e05e4
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
On receiving audio test request from sink, parse audio parameters
and send notifications to audio modules to start audio transmission.
CRs-Fixed: 1109812
Change-Id: Id17d82c5b9e1c4bf453f1f1421d2025b32aa410a
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Allow each display client to issue multiple requests for audio only,
video only or both to address different use cases for the display
clients.
CRs-Fixed: 1109812
Change-Id: I38518cebb37da0a48ffd817af9246a7c9682b494
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Fix the electrical compliance test sequence by bypassing
the link training whenever there is a request for a new
PHY test pattern. Link training triggers the sending of
training patterns which might differ from the requested
PHY test pattern. Furthermore, handle the state DP
transitions for power on/off since there is no userspace
interaction for the electrical compliance tests.
CRs-Fixed: 1108048
Change-Id: I9169b7645f7e039c8582993bf88976ff24eb6eca
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
qcedev_vbuf_ablk_cipher will calculate total data length. It starts
with the value of "areq->cipher_op_req.byteoffset", which is controlled
by the user. Make change to check if this total data length has integer
overflow issue in qcedev_check_cipher_params.
Change-Id: Ice42dca6d47eb8febfe8a34e566c69e4799fab57
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Sink reports the maximum link rate that it supports as part of the
DPCD information. When calculating the link clock rate, ensure that
the calculated rate is always capped at the maximum rate supported
by the sink.
CRs-Fixed: 1109812
Change-Id: I563f3406606128b1bba705e6db33aa8ede8dbb7d
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
A sink uses the HPD IRQ signal to notify the source of for any
link maintenance, link tests and HDCP related messages. Current
implementation tears down the entire display pipeline when this
signal is received. This may not be necessary as it would be
needed to keep the DP interface enabled while any kind of link
maintenance is performed. Fix this and ensure that when handling
of the HPD IRQ is complete, re-establish the display pipeline.
CRs-Fixed: 1109812
Change-Id: Id93c3b147dd206e9718f49e2a053e3ee18162130
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
remove extraneous parentheses around the comparison to resolve
static analysis warning.
Change-Id: I67c755f028a8bf27e0b924cd636a1cce27e149fc
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
When processing an IEOB interrupt, do not process the pending
events in case the channel is in polling mode.
Change-Id: I9b9fbc71ae33fe1bfef837580f9f8e9aa875160d
CRs-Fixed: 1112064
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Some kernel modules have 32-bit compilation issues. Disable them.
Change-Id: I27c9c705e18fa6a208bf505c88e92dbf4727aeb0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
1. Added reference count for requests in HW queue for particular key
2. Fixed race between block/unblock requests with asynchronous job
for key configuration in ice
Change-Id: Iaefc25739b420b2e5feae1895c7c2495b4850539
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>