Enable SCHED_AUTOGROUP which enables certain optimizations in the
scheduler for better performance.
Change-Id: Ib099531ed19715e88373d4aee2926205a8eaf9c6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add resource manager for retrieving the control paths and layer
mixers. Encoder and CRTC use this to get the hw driver contexts
for those blocks.
Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
Add mdp_top block support to hw layer, provides split pipe
control, and interface select. Use mdp_top from intf block
to program interface select.
Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
Check for null return value of slim_get_device_id(slim)
before dereferencing.
CRs-fixed: 1095395
Change-Id: Ie45dfca3b1bc5b9883c88f401f1a2af7a6d5a58d
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Modify funnel configuration for modem etm and tpda.
Modify data width for submodules for sdm660.
CRs-fixed: 1111225
Change-Id: I27538435b2c89041ca6c0305eb1405cf75ed59af
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Pass the proper VMID value during secure attach. This VMID is used by
the HYP/TZ to maintain the pagetables.
Change-Id: I3b7c27c079b044c9325bcbcb6fa4312e424f3a94
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
BLSP2 UART1 is used as transport for Bluetooth between sdm660 & wcn3990.
Enable it so that Bluetooth can be enabled on sdm660 CDP/MTP/QRD.
Change-Id: Ib5102a96d42213bbeb230f83806b10a397353df8
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
SDM660 target supports the bw monitor version 4 includes
the zone counts.
Enable the bw mon4 for the SDM660 target.
Change-Id: I0f8323c6bdc91d859456ddd8a70838cd8e71779c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.
Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.
Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update vdd-current-level as per latest hardware documentation
and interrupt related properties of sdhc2 for sdm660 QRD.
CRs-Fixed: 1111072
Change-Id: Ica211d68a032d51ab313cce47d2b84137433f18c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
Make change to improve input validation on request and response
buffers' address and length for qseecom_send_service_cmd.
Change-Id: I047e3264333d767541e43b7dadd1727232fd48ef
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Ignore MSA0 dump collection during graceful shutdown. Collect
ramdump only when modem is really crashed.
CRs-Fixed: 1110935
Change-Id: Ic2fbfec320eb516224daad9ae78be07c61376cfc
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Add an API that can trigger WLAN PDR. WLAN host driver can use
this API to trigger PDR in the cases where it fails to communicate
with FW over it's native copy engine interface.
CRs-Fixed: 1110381
Change-Id: I7a076ba023b3e48c9e5473ec4895f50c71816831
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Fix checkpatch warnings and other style issues in the regulator
debugfs functions. Refactor the code to remove unnecessary error
checks as well as a shared buffer and mutex. Rename variables
and functions to better follow the naming conventions found in
the core.c file. Update the conditions used for allowing the
creation of 'voltage' and 'load' debugfs files.
Change-Id: I59881078ce9e908de11e74d15372edf233eb17b0
Signed-off-by: David Collins <collinsd@codeaurora.org>
Use of incorrect buffer struct size is causing
memory out of bound access, fixed issue by using
the correct struct size.
Change-Id: I193e14ffe63bc28af18a4d00f551253118e28080
Signed-off-by: Gautham Mayyuri <gmayyuri@codeaurora.org>
Fix regulator override functionality to
remove mute check for overriding to class
AB from class H. Add check to vneg_ctl
function to execute only for Tasha.
CRs-fixed: 1099810
Change-Id: I082027fc6347ae98b6fd3fe0d5aadac805fb0b84
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add debugfs support of configuring fw features dynamically.
CRs-Fixed: 1107443
Change-Id: I0021ac61467174c794fa8f6ef130479b166c1425
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Add support of WLAN FW rejuvenation. After receiving FW
rejuvenate indication, ICNSS will start WLAN FW rejuvenation
and ack back to FW.
CRs-Fixed: 1107443
Change-Id: I127e86d8467f64534f096d58424e687d4231d7a5
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Update WLFW service with FW rejuvenate related messages.
These messages are used to trigger WLAN FW rejuvenation
and update FW dynamic feature mask to FW.
CRs-Fixed: 1107443
Change-Id: If91c78b5325b177195bdcb8159542d50bd0dd01d
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Save pdaf buf address in sof event and send it with stats
notify event.
Change-Id: If147a229f3f007f30ef563469d11b678b887ed57
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
Existing SDE HW interrupt was based on mdp/kms and is not
sufficient for supporting the SDE HW interrupt manipulation.
Changes are for enabling full SDE interrupt support and hiding
HAL interface implementation details from crtc/encoder.
Change-Id: I917a153d12bbb6b84758591ba69fe15181af7791
Signed-off-by: Ben Chan <bkchan@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>