Графік комітів

13 Коміти

Автор SHA1 Повідомлення Дата
George Shen
8adf2c6b69 msm: eva: Map dsp hfi queue using dma alloc api
Use dma_alloc_coherent to allocate 4MB dsp hfi queues and map
them in non-io-coherent way.

Change-Id: I6d8adb58ebcddae569259862a83e3aeffa3d2304
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-08-21 23:18:59 -07:00
George Shen
b293b5b713 msm: eva: Rename hfi related devices
To avoid confusion in code reading and prepare for
future compatibility changes.

Change-Id: I43d61e18d2e2d75d1fd46ceb2e763511329ee32d
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-07-29 16:34:22 -07:00
George Shen
304e2cf9c0 msm: eva: Allocate 1MB debug buffer for FW
For FW to hold debug info. Simplify driver structure for easy
dump in T32.

Change-Id: Ib310a3d9fe3437d5ce49783eb813fbb2d8bd3216
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-06-02 14:40:35 -07:00
George Shen
37a21d759b msm: eva: Recover EVA SMMU fault
Needs extra change to enable EVA SMMU fault. This change clears
all the obstacles to achieve the goal.

Change-Id: Ia93ff2132ff53741f3c20d4271083f6f93824cac
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-05-23 10:06:11 -07:00
George Shen
70fc47d3eb msm: eva: New attribute for secure camera mapping
Add attribute DMA_ATTR_QTI_SMMU_PROXY_MAP to dma_map_attrs.

Change-Id: I747a550deb42c45da2c816682976d04968ad48b1
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-02-20 22:31:40 -08:00
George Shen
1fb08bdc09 msm: eva: add RGE, VADL ITOF CB setting print
Dumps registers to debug FW issue in setting CBs
for CDM buffers.

Change-Id: I287f18455f2a6b2f7cebd520c73a0de84030a8e6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-11-17 12:39:07 -08:00
George Shen
7b624f7924 msm: eva: Use dummy CB to map secure camera buf
Per SMMU driver team recommendation. The "mapped" result will be
the virtual addresss of S2 VM_SECURE_CAMERA page tables.

Change-Id: Ide5a330e208e503182e4aa46a8fa2ba093202ced
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-28 11:17:24 -07:00
George Shen
1aed484f01 msm: eva: enabling support for data path bringup.
Add checksum support per packet type, configurable.
Add debug hook to print SID setting registers at SMMU fault.
Enable Auto-PIL.
Enable DSP interface.

Change-Id: Ie1fd2c584681b751836854667981a3c10beb56d4
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-26 15:29:57 -07:00
George Shen
991125b3b1 msm: eva: Enable Lanai compiling
EVA Kernel driver.

Change-Id: Ie415075a05707a20d9eac1e478a2f18c741b3446
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-09-28 18:33:20 -07:00
George Shen
fcbb3d87ab msm: eva: Propagate tip of 2.0 to 3.0
Add back all changes made after Aug. 3rd from
Kailua to Lanai.

Change-Id: I725b77892ab24354014b3d9bbc13d14c710aff5a
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-09-27 12:52:27 -07:00
George Shen
dcbb74265f msm: eva: Add Lanai EVA HFI check
Adds XRA, DLFL, DLFD, RGE and ITOF packets sanity check.
Optimizes packet type table to avoid linear search during
each packet handling. Instead use packet type as index to expedite
searching. Packet type table grows to over 60 entries and each
entry uses 40B. There will be quite some memory access delay for
each packet handling without optimization.

Change-Id: I1ee26d0d5d0b83d3c15fbcafa7414017c418b6e3
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-07-29 11:02:27 -07:00
George Shen
1cb056362c msm: eva: Add process name for debugging
Also fix a persistbuf optimization problem that failed
multi-loop DMM test.

Change-Id: Ib197077a708dea99967f0a9f4ed1c09d12023edc
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-07-08 16:57:03 -07:00
George Shen
b129cf0b8a msm: eva: Add vm sub-driver
Add framework for future implementation.

Change-Id: I2ba070e791320e56339c632120ffa821e57db113
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-04-25 20:56:22 -07:00