Add placeholders for the KGSL power limit functions if
CONFIG_QCOM_KGSL is not enabled in the kernel config.
Change-Id: Ic0dedbad15b54cd8c3eba1b0649cb23193dbc16c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Kernel compilation warning is generated due to
these uninitialized variables access. This change
fixes them by initializing the variables.
Change-Id: Ifae04fe5e4d1b9a0c2c399a3c6746c38dea5c4cc
CRs-fixed: 2004062
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
ipa3_get_ep_mapping() is used to map an IPA client to
IPA endpoint index. The index is used as array index.
This change validates that the returned index is
within the valid range.
CRs-fixed: 2012203
Change-Id: I25df8d0c9b60a5290f2457dd2ed77f2c7e78b46f
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
PBS driver triggers the PBS event specified by the client
driver to execute the PBS RAM configuration. Enable it for
sdm660 targets.
Change-Id: I95c70295805d31506c864546b763bef8a5e7b4bf
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
To handle Cx peak current limit on SDM660, GPU needs
to call Cx ipeak driver APIs when it switches between
threshold points.
Cx ipeak driver will throttle cDSP frequency if all
the clients are running at their respective threshold
frequencies to limit Cx peak current.
Change-Id: I5ffcf1a42523072d2b8b7bc0022eb3cc067acbb9
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Updating min frequency for memlat voting from 787MHz to
1113MHz to avoid intermediate DDR frequency switching on
SDM630 target.
Change-Id: I4a66efcd3301c3662b48b11c11f83a97c6562f31
Signed-off-by: Nikhil Kumar Kansal <nkansal@codeaurora.org>
Add MBA carveout between ADSP & cDSP in sync with
v1 memory map.
Change-Id: I65af5e01af1e5dd3de7f0666017dcd82ea8f7293
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Use snd_soc_kcontrol_codec instead of snd_kcontrol_chip
to obtain the codec information from the kcontrol.
CRs-Fixed: 2012091
Change-Id: I01e3d7d1a4237ac631bbc4bd4d1c047b8b7aa207
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
The PBS driver helps the client drivers to trigger the PBS
event to execute the PBS RAM configuration as requested by the
client driver.
Change-Id: Ic5d1290ffa0b66ac7a8f68529aafcf0b871ee3e8
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
HLOS client send request to SP server and expect response within timeout.
if timeout expires, return ETIMEDOUT error, rather than a general error.
Change-Id: Ic7691848ff133196bf31294c010e98846de2c470
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Dload type imem offset is corrected for SDM630, so that
correct imem address is updated.
Change-Id: Ibed79e05f528028b10e250e5a41047f2e4255add
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Dload type imem offset is corrected for SDM660, so that
correct imem address is updated.
Change-Id: Ic6f4ca6aef80003fe7547f473c515a3368cb555e
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Clients are not getting notification if qmi connection to locator has
not been established. As a result of this clients are waiting forever.
So to avoid this notifying the client in case of qmi connection fails
to service locator.
Change-Id: Id1625c18db812831860355e987a97789357dda13
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
A508 GPU has multiple frequency plan, for loading a
specific frequency plan add speed bin read capability
for A508 GPU.
Change-Id: I32a030bec438edc74f1e78bfb2ea86e7a3f60dab
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
In HDMI non-pluggable case, it's supposed that there will
not be hotplug events, so ignore the HPD interrupt and do
not schedule the HPD work.
CRs-Fixed: 2010135
Change-Id: I72b9c3fb0f831ddab4be0545c37cd9189d4afa41
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Audio codec needs audio extension block data in EDID,
so add support for providing this information in ops
registered by the audio driver.
CRs-Fixed: 2010135
Change-Id: Ic1b389872171d5faade38d5ff484be065a9dc489
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
In HPD case the HDMI driver communicate with external display
module by specific notification and acknowledge interfaces.
Add this support to enable the communication.
CRs-Fixed: 2010135
Change-Id: I24ac1e0f0cb1e3946e2a53e4bf72bafbd84e4395
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Make ext_display a standalone module independent of
framebuffer driver, so that it could be shared by
various drivers such as framebuffer and KMS.
CRs-Fixed: 2010135
Change-Id: I336c556cbfbd66d3cb3467acaea038d5d3651f67
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Use audio codec callback to replace the existing sysfs
node which has permission issues. The usage is the same
as previous sysfs node as the input parameters are not
changed. There are 3 different flags could be passed
in: SET_ENABLE, ENABLE, and CONNECT.
CRs-Fixed: 2010135
Change-Id: Id526bd8a3d750f8da108bc42b1e3e8f680950f3b
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Register ext_disp and provide audio codec ops. This
enables HDMI audio functionality for DRM driver.
CRs-Fixed: 2010135
Change-Id: Ide661456ab42bf6a8f13359819e39317f439a255
Signed-off-by: Ray Zhang <rayz@codeaurora.org>