There is currently no interface for adding/removing memory to an
ION heap, so add one.
Change-Id: I68061feca3c29cd8f2370665f40f8005fb8765ff
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
ION clients may want to know about the security state of a heap
prior to allocating from it, so expose an interface for querying
the security state of a heap.
Change-Id: Ibf832792ffbc81b5b96b8ddbc507db5418a47928
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Add support for mapping VMID values to their corresponding
ION flags.
Change-Id: I827c4e7c4a1761fcc6c6b08f2855f490243d8ea5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
extcon USB gpio driver is used to start USB host/device mode
based on vbus/ID status for USB secondary port. Hence enable
extcon USB GPIO driver on Lahaina.
Change-Id: Ia39822f29e9c1387df1827eef89c56d29df2554a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
The flag to make the scratch privileged
was correctly set but not used.
Change-Id: Ie015dd3008803d6a98156f9d2ad049b3cdb86a33
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
This links the busmon devfreq device to kgsl device
which is de-referenced in kgsl_busmon_target() in
order to propagate bus votes.
Change-Id: I1ac3f81e546e3fd6be6051a202e0d49db07978ee
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
With eCP, we will have a different dispatcher and hence a different
function to queue the commands to the eCP dispatcher. Instead of
adding the eCP check in kgsl.c, do it in adreno_queue_cmds. On the
same lines, we will do eCP check in adreno_drawctxt_sched() to queue
the context to the respective dispatcher. Also, move
adreno_drawctxt_sched() from adreno_drawctct.c to adreno.c so that we
have one less function to export.
Change-Id: Ibd6325131ed38b9527cdda084ca37d6c6ceee3bd
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Avoid trip evaluation for disabled thermal zone, as the temperature
reading will be invalid and using the same to evaluate the trips will
lead to undefined behavior.
Change-Id: I5ea744d36875a425b0c3ed07c3ab45c94f9b59ca
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Add Haven message queue driver provides an interface to the client
drivers running on the virtual machines to communicate with the clients
running on other virtual machines. The services offered by the driver is
simply to send and receive messages.
Change-Id: I1685109f579eaf7fa039225dd60a42adae7de00a
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Add Haven hypercall interface conforming to its arm64 ABI.
Change-Id: I959e6a24c0b3dca5182b70b95d6bee3a51e9f6c4
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Add common Haven hypercall interface implementing all of the doorbell
APIs and required message queue APIs for an initial message queue
driver.
Change-Id: I2f4cbe99b76d115a42e86d1a43f361e4793a9723
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Currently adreno_snapshot() tries to dump remaining IB1 size
if the active IB1 base address is not present in ringbuffer
which is not enough to debug GPU hang.
So, try to calculate the maximum possible size that it can
dump from IB1 base address and add it to snapshot dump.
Change-Id: I029fb8cddab7999001a2934ce49cb5ff884c21bf
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
In hba power up sequence, phy_set_mode_ext() is used to pass UFS PHY mode
and HS gear as the submode to UFS PHY driver. UFS PHY mode is decided by
limit_rate, which is Rate-B by default. While, UFS PHY submode is dediced
by limit_phy_submode, 1 stands for G4, 0 stands for non-G4.
Change-Id: I54fc377abd42290e76094125b446d24ef1478124
Signed-off-by: Can Guo <cang@codeaurora.org>
nvmem_cell_read can return ERR_PTR in case of failure. Current code is not
handling the error case. This would result in using default clock plan as
speed_bin value is zero. This can be fatal in case fuse was blown to a
lower frequency then the default clock plan. Handle this error to avoid
this issue.
Change-Id: Ic128265fdd1adefbbc0d7f733ef3e9b2f6fcb31a
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Add QPNP AMOLED regulator driver to configure triple power supply
(OLED, AB & IBB) that is used in AMOLED panels.
This is a snapshot of the driver taken from msm-4.19 as of
'commit <18fb0f227fcdcd3i92a380533b454fdc629625327> ("Merge power:
supply: qcom: Initial version driver for SMB1398 charger")'.
Change-Id: Iefa5d27f781af36d42e0a14ac77b2537a19ea596
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Add support for DIAG and DCI MHI clients moving to userspace.
Change-Id: I2ee30fedfb50644f7bcc7eac41d08e37ca71805a
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>