The non-bmi targets do need to load firmware from the
driver and is loaded by other procedure.
Since, utf.bin file is not needed, this change skips parsing
and loading of the same.
Change-Id: Id7cc0b1cd75f813c1b6c762685d8806a30ba8295
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
The guest VM uses this driver to communicate subsystem state related
notifications to a backend driver via the virtual device's registers.
Change-Id: I612fcb641c4d531c1d2c0fd18f44f7ebff040f2c
Signed-off-by: Anant Goel <anantg@codeaurora.org>
This reverts commit a8c85fc795.
Reverted because support for MPC5746C SPI-CAN is being
added back to the platform.
Change-Id: Ib14caf39a8cba9c6028abceb85adcd43df53ba06
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
fix cnf_buf.cmd is uninitialized in bw_profiling_get
Change-Id: I9638fe423e6768c66a85e80c0d5175b8a33c1901
Signed-off-by: Lei wang <leiwan@codeaurora.org>
Function ufshcd_hba_exit might be called to destroy clk scaling work queue
if failure happends in function ufshcd_init before clk gating work queue
is created. This change fixs it by skipping destroying clk scaling work
queue if it is NULL.
Change-Id: Ifb1c46f490749e4afe7cea331c29d073175f68ef
Signed-off-by: Can Guo <cang@codeaurora.org>
To improve performance margin for DSI's PLL at cold temperature case,
the value of DSIPHY_PLL_PLL_ICPMSET should be changed from 0x24 to 0x3f.
Change-Id: I139e37e137355c5e8f0b3bebd28b23a09593dd13
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Handle ioctls called by libgbm in the virtual kernel driver
to support front-end library and avoid modifying libgbm.
Change-Id: Ie4e567cea7338b4ba68080decf85dfa45e040dac
Signed-off-by: Camus Wong <camusw@codeaurora.org>
sched_get_cpu_last_busy_time() returns the last time stamp when
a given CPU is busy with more than 2 runnable tasks or has load
greater than 50% of it's max capacity. The LPM driver can make
use of this API and create a policy to prevent a recently loaded
CPU entering deep sleep state.
This API is implemented only for the higher capacity CPUs in
the system. It returns 0 for other CPUs.
Change-Id: I97ef47970a71647f4f55f21165d0cc1351770a53
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Clear the previous wakeup reason data and reset the wakeup
reason event field to avoid the STA disconnect with invalid
wow event.
CRs-Fixed: 2199100
Change-Id: If45b5ae6e6f93ab9068b59a5e31f46b829363936
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Fix buffer overflow and array index out of bounds cases.
Because size of int(32bits) unequal to size of long(64bits).
Change-Id: I45a70ec5b6926698bb444fc78f85785bc4a25ea5
Signed-off-by: Andy Sun <bins@codeaurora.org>
Add check for integer overflow of user
supplied data for ADSP stream command.
CRs-Fixed: 2173850
Change-Id: Ic70093e890b7a6dd07529d77d10fff003282a8ea
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Send port reconfig to client for thumbnail session
when driver received sufficient resources from firmware.
This is needed as there are issues in DPB management
in firmware.
Change-Id: I7c2992e6be87fd277b209554d1aa7c4d0a088738
Signed-off-by: Paras Nagda <pnagda@codeaurora.org>
Enforce a limit of 200 contexts per process. This is done so
that a process cannot use up all the available contexts and
prevent other processes from starving.
Change-Id: I6eda123128381a213315561cd42335e0944f1f55
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
When the bytes count required by SPMI clients is 8, read and write
fail. This was observed when PMIC MPPs initialized. Fix this by
adding bytes count restore in cmd formation as read and write process.
Change-Id: I56dbbc0b8e99727c29ddae568ce6f17195888b4a
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
Increase the memstore size to 32k. Memstore has for long
been limited to 200 contexts and now it will be 814.
Change-Id: I1287669f0be38afe13ff8e386f5296e8f4e77627
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
Disable usb phy by default and only enable them for the targets
which require the support for usb phy.
Change-Id: I55d5cba5ef06d3269cc9600dfec866c0f88b31ab
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
Derive the QCPE HAB id from the HAB vmid DTS node, rather
than have it hard coded into the driver.
Change-Id: I29ec7647890f8bc194d31f0402c5ed314572462f
Signed-off-by: Amit Blay <ablay@codeaurora.org>