msm: eva: Increase f/w boot timeout

Add HW fence testing command.

Change-Id: I8f0b21dd678b06ace25a42fdbaf365d01b61f580
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:
George Shen
2022-10-05 22:57:47 -07:00
parent 991125b3b1
commit 98e4c251f6
3 changed files with 11 additions and 1 deletions

View File

@@ -1026,7 +1026,7 @@ static inline int __boot_firmware(struct iris_hfi_device *device)
}
/* Reduce to 500, 1000 on silicon */
usleep_range(500, 1000);
usleep_range(50000, 100000);
count++;
}

View File

@@ -172,6 +172,8 @@
(HFI_CMD_SESSION_CVP_START + 0x080)
#define HFI_CMD_SESSION_EVA_DLFL_CONFIG\
(HFI_CMD_SESSION_CVP_START + 0x081)
#define HFI_CMD_SESSION_CVP_SYNX\
(HFI_CMD_SESSION_CVP_START + 0x086)
#define HFI_CMD_SESSION_CVP_ICA_FRAME\
(HFI_CMD_SESSION_CVP_START + 0x100)
#define HFI_CMD_SESSION_CVP_ICA_CONFIG\

View File

@@ -792,6 +792,14 @@ const struct msm_cvp_hfi_defs cvp_hfi_defs[MAX_PKT_IDX] = {
.resp = HAL_NO_RESP,
.name = "DLFL_CONFIG",
},
[HFI_CMD_SESSION_CVP_SYNX - HFI_CMD_SESSION_CVP_START] =
{
.size = 0xFFFFFFFF,
.type = HFI_CMD_SESSION_CVP_SYNX,
.is_config_pkt = false,
.resp = HAL_NO_RESP,
.name = "SYNX_TEST",
},
};
int get_pkt_index(struct cvp_hal_session_cmd_pkt *hdr)