Fix the TPG version 3 reserve function to utilize all the 16
unique VC and DT combination support. Add functionality to be
able to reserve TPG version 3 multiple times for future
multi camera usecase.
CRs-Fixed: 2823940
Change-Id: Ib5cadc5398c78f110a8a768932d65de3bd849309
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Sometimes, the cpu load is very high, then the devcies
stream on will be delayed, but the CRM watchdog is already
enabled before streaming on, then we will have a chance to
notify SOF freeze issue.
This change pauses the CRM watchdog timer before streaming
on sensor and after stopping ife, when we can detect the
stream on and stream off delay, but don't notify error,
also can detect the real SOF freeze issue.
CRs-Fixed: 2804587
Change-Id: Iccaee837930ea22290b109eff45b05300d844312
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
Add support to dynamically switch pix_pattern of read clients
based on data received in each request.
CRs-Fixed: 2811530
Change-Id: Icb3ebd33cae59b8db87bc0011d6560492ad29c3a
Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
Changes return codes to iommu_fault_handler to enable access to new
debug features.
-ENOSYS: Print debug information about the iommu_fault.
0: Print no additonal debug information.
-EBUSY: GPU specific crashdump usecase.
CRs-Fixed: 2835738
Change-Id: Icc2b580dc7b67a00e27ac445b43ab8ffc27fa636
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Fix the implementation where global clear command is
getting applied redundantly for more than once in a
for loop.
CRs-Fixed: 2880438
Change-Id: I0ff4b120eb7458bfc9978d5c6916d21d8db35e16
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Update the 2Phase bring up sequence to accomodate different
platforms.
CRs-Fixed: 2835738
Change-Id: I3a58876590f8f6e0ea3d8b651723498494bdf50d
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Add support in SFE bus to print violating client info.
Also add support to dump violating module in SFE top.
CRs-Fixed: 2841729
Change-Id: Ic859c89a57004139ab442eb28ccb9ab45e5ceb54
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Replace request_firmware API so that no warning messages
are generated when the file is not found. sysfs callback
mechanism is enabled if direct filesystem lookup fails.
CRs-Fixed: 2841729
Change-Id: I6dd892690ca9d38a90a6e0623d87421e889dbeca
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Add sensor name in the sensor drivers for better debugging.
CRs-Fixed: 2856300
Change-Id: I97995e2b731dcf05b5cf85d7b023be77d8a21327
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Interrupt context is printing info logs by default which needs
to be print as dbg log. Correcting logging level to achieve this.
CRs-Fixed: 2835738
Change-Id: Ia21a7a4f62c973b173274b363c9a971370d20c36
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
In case of SFE FS mode, SFE PP needs to be bypassed by
programming sfe_offline_en in CSID wrapper. Get this
hint from UMD to differentiate between sHDR & FS use-cases.
CRs-Fixed: 2841729
Change-Id: If118440be2066c50871785f2077c69cff126d0f7
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Increase the max supported slot ids to 16 in sensor.
CRs-Fixed: 2871214
Change-Id: I08910f2c34f70333bf25dbb31de5994c3beb7a8f
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Reset the flag post shutdown, instead of resetting it prior
to calling into HYP.
CRs-Fixed: 2841729
Change-Id: If0bed24a22e1084135df81dc5a72b395e92adb2c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Update hbi, vbi & throttle pattern in TPG with the values sent
from user-space in TPG blob.
CRs-Fixed: 2841729
Change-Id: Ie4d95252c0b00ce8226f39fe899eae7c0bf3c88a
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Add format select and HDR select fields. Also fix the width of DSP tap
point select.
CRs-Fixed: 2846451
Change-Id: Id02116817645932b041dc1a8aa473cef4d34575a
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Currently, IFE DSP clock doesn't get enabled at hardware initialization
during the VFE hardware start sequence. This change adds support to
enable DSP clock when hardware manager initializes VFE and disable DSP
clock when VFE is deinitialized.
CRs-Fixed: 2846451
Change-Id: Ia45f6b741e395ceb688ef8518a70a09c69c08c74
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Each prepare packet may not have the CSID command buffer, so
need to avoid the CSID base change if there is no command buffer.
This commit adds infrastructure to compute the cmd buffer count
for different hw before adding the command buffers. CSID base change
is not done if there is no CSID cmd buffer. This can be enhanced
to add other hw as well.
CRs-Fixed: 2830502
Change-Id: I0880c4567d3c50beb66b160c4aac7bf4a8f7f748
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
Update logging for SFE driver. Handle addIO for
IFE bus rd in case of SFE.
CRs-Fixed: 2841729
Change-Id: I6f0ab318d0deb70ba71cb671ee09bac7a657be6a
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Improve the cdm debug register dump to dump more
registers and more information.
CRs-Fixed: 2874806
Change-Id: Ica9a5b63bbb30c59463c6b2c0115a452def0fcf8
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>