Add msm performance module function calls to send
kgsl queue, submit and retired events. These events
will be accessed by userspace through msm performance
module to apply dynamic performance boosts.
Change-Id: I6d93831e5fe821032b8e32c52e88b72ab102f6a2
Signed-off-by: Aman Mehta <amanmeht@codeaurora.org>
Allow configuring the rising and falling hysteresis to allow better fine
tuning of the charge current across battery temperature thresholds.
Change-Id: I88419d0694f0e70a6f1115e144685381e29cfd96
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Add an error log in pmic_glink_write when rpmsg_trysend fails to
send the message for a client. It will be useful for debugging.
Change-Id: I4d3e72fdf64f1df6caad10840e21517c393530b7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add SMB_TEMP, IIN_SMB and ICHG_SMB channels for both SMB139x
charge pumps that can be paired with PM8350B.
Change-Id: Ie67f308d59439a8cb2bced6e80693b101261f3cc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add PM8350B_ADC7_ICHG_FB channel to read charging current for
PM8350B. Also, update qcom,spmi-vadc.h to add ADC7_ICHG_FB and
other relevant channels that are needed for reading input and
charging current for SMB139x charger pumps along with scale
function indices.
Change-Id: I4a1b53f328e1b394063cbf951f6ff978eb96d21e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Secure pagetable pointer in case of secure pagetable creation
failure is set to ERR_PTR. Correct the secure pagetable pointer
check in kgsl_iommu_map_secure_global to avoid invalid pointer
access when someone tries to map a secure global buffer.
Change-Id: Ic938072e38c410a31158b8ab83f2678b2a64f276
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
When mem_buf_alloc() encounters an error after mapping the memory
in the stage-2 page tables of the VM, the SGL descriptor is not
freed in the error handling path, so free it.
Change-Id: I6e6fa296311575bb55cd0b9da7a138970e8b8e74
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>