Commit Graph

20 Commits

Author SHA1 Message Date
George Shen
ea94318515 msm: eva: mmap firmware debug memory
For user mode to save into a dump file. It helps FW debugging.

Change-Id: I1c9c52d27d0dfd20e3eeb54b203416f6df095c8d
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-06-20 14:14:02 -07:00
George Shen
40bd33147d msm: eva: Fix an issue in DSP sess create failure
Avoid using invalid session id in case of DSP session failed.
Increase the number of per IOCTL session properties setting
from 8 to 64.

Change-Id: Ia9979001fe6e0ed247067d7b12314c327897fead
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-05-20 22:17:24 -07:00
George Shen
73f3cecfbd msm: eva: Support Synx V2 only
Simplify code base for future generations of driver.

Change-Id: I9ed940184da3b2224c74092ac31163de29c84f64
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-05-02 10:06:41 -07:00
Sabharsh Sidhu
28d5691237 msm: eva: Update WarpNCC-related UAPI
Update UAPI for future backward compatibility.
Add mechanism to dynamically specify WarpNCC
metadata buffer offset instead of using macro.
Add UMD-KMD shared definitions header file.

Change-Id: If8ea7046e692eef1a784d2744228846b6f752d0d
Signed-off-by: Sabharsh Sidhu <quic_ssidhu@quicinc.com>
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-04-25 16:59:57 -07:00
George Shen
d665182aed msm: eva: Add FW 17 support due to HFI change
Non-secure ARP and CRC in BUFFER_TYPE, enabling IFPC.

Change-Id: I551e29e7770cdfd83b0ed9f7f925fb8bd6e6a4a6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-02-24 12:14:27 -08:00
George Shen
a9db98a35d msm: eva: Fix KW issues
Change-Id: Ia2ec86faf79959511f491025489cd5cecf56fec5
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-01-30 09:21:23 -08:00
Naveen Ravi
a4f6f484b5 msm: eva: handle WARPNCC Meta Data Buffer Offset due to FW 14
FW14 introduces bSendMsgPkt in all HFI frame packets including WARPNCC

META Data Buffer Offset needs to be updated in KMD for WARPNCC Sync and Async Tests to work

Change-Id: I4d1df315e0516efab39a7e91bf68c125c6321ca6
2023-01-25 12:16:43 -08:00
George Shen
2dbd8c396e msm: eva: Support Lanai new HFI cvp_buf_type
Keep ERR/WARN/FW logging only.

Change-Id: I910dd109fa6d16f093848e7c3c3a03c1568f87e6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-12-08 11:40:12 -08:00
Sabharsh Sidhu
94711ec8b3 msm: eva: Update WarpNCC offset macro
Change-Id: I380b1ea1afbf8699dd27dfea7f68b0b905a20e49
Signed-off-by: Sabharsh Sidhu <quic_ssidhu@quicinc.com>
2022-12-07 18:28:17 -08:00
George Shen
f2e6be65e4 msm: eva: Move cvp_buf_type to UAPI
Ensure consistent buffer type use between UMD and KMD.

Change-Id: I77d619420d584e3c29babc8ddc5e80232f901009
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-12-05 13:22:44 -08:00
George Shen
abe2519bd8 msm: eva: Add EVA4.0 blocks for power voting
VADL, TOF, RGE, XRA and LSR added.

Change-Id: I5099b72bb38199d493a710c716fc528ab2cc0e7c
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-25 13:41:12 -07:00
Yu SI
7597271dde msm: eva: synx v2 support
propagated sync v2 support from 2.0
reference 4162025

Change-Id: I3427657e21e7eda92088d828203a330ba3c86335
Signed-off-by: Yu SI <quic_ysi@quicinc.com>
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-10 18:20:57 -07:00
Sabharsh Sidhu
01c34574ca msm: eva: Add WarpNCC CPU support
Adds Out-of-Band (OOB) functionality. Adds
WarpNCC OOB processing for metadata buffer
IOVA population. Adds WarpNCC source buffer
registration that does IOVA book-keeping and
returns buffer ID to UMD.

Change-Id: I182c270454eec194f28a31c494bae0ad9eface02
Signed-off-by: Sabharsh Sidhu <quic_ssidhu@quicinc.com>
2022-02-01 14:13:13 -08:00
Sabharsh Sidhu
ac94467aa2 msm: eva: Increase MAX_HFI_FENCE_SIZE to 64 in uapi
Increases max synx objects supported by eva_kmd_arg
from 16/2=8 to 64/2=32.

Change-Id: I8d893b829a6af5f1929298cc8562095f22b0c633
Signed-off-by: Sabharsh Sidhu <ssidhu@codeaurora.org>
2021-09-10 12:08:03 -07:00
Karthik Nagarajan
322bbdeaa3 msm: eva: Enable hangdump mode in EVA
Include new hfi packets and enable the pipeline to
dump hangdump buffers in UMD.

Change-Id: Id66538c69d3080c09c5a140dadcb0dfe87d9efc7
Signed-off-by: Karthik Nagarajan <karnagar@codeaurora.org>
2021-06-04 12:15:07 -07:00
Suman Voora
cc0d122772 msm: eva: Update the max hfi packet size
Need to update the Max HFI packet size
to accomodate the Pyramid HFI packet
Change-Id: Ie8bb3aeebc0c503a528a8a2c8c1ebc8dd4e2a085
Signed-off-by: Suman Voora <sssanjee@codeaurora.org>
2021-03-11 11:43:39 +05:30
Yu SI
5f1c0b90c3 msm: eva: rename cvp to eva for private h and such
renamed cvp to eva for msm_eva_private.h and
other source and header depending on this file

Change-Id: I987cfedca62c82e5e26af230b4f36c84f1318a95
Signed-off-by: Yu SI <ysi@codeaurora.org>
2020-09-25 18:39:18 -07:00
George Shen
0c218a6148 msm: eva: propagate tip of CVP driver to EVA
Merge cvp driver to EVA

Change-Id: I3fb962bfae750f49f821c16061bd78fa5425959e
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-08-06 22:57:54 -07:00
George Shen
34e78bca0c msm: eva: Rename UAPI header
From msm_cvp_private.h to msm_eva_private.h

Change-Id: I22f428e774fc725e1a88968da823a29f0ce68ffa
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-07-23 14:39:15 -07:00
George Shen
c5c6c1545c msm: eva: Build EVA driver in eCRM
Enabling EVA build in CRM environment. The setup can be used
to sanity check future changes.

Change-Id: If18abf7212c768c07e550678109d90d0c8519478
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-07-22 20:43:09 -07:00