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>
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>
It's useful for other virtual machines (VMs) to know if another
VM has successfully received a resource that was shared with it
(e.g. state tracking can be controlled better with this sort of
information). Add support for the MEM_ACCEPTED notification, which
clients can use to notify the VM that owns the resource that was
shared with it that it has accepted the resource and is using it.
Also, add support in the mem-notifier driver to forward the
MEM_ACCEPTED notification to clients.
Change-Id: I05b9f1d37906d7c2aa729b97df2f8ceb78b560bd
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>