fix bug#1349 from dev_ck_v2.1_bug#1349# to dev_ck_v2.1_bug

modified the file: public/common/platform/src/spu_hw_queue.s.c
test:
 spu(case14)+arm(case20): pass
 spu(case20)+arm(case20): pass

 spu(case21)+arm(case21): pass
 spu(case34)+arm(case5) : pass
 spu(case44)+arm(case5) : pass
wq
This commit is contained in:
lishuang.xie 2023-11-29 14:38:09 +08:00
parent 9440e8a1d6
commit 275c6f1eea

View File

@ -204,7 +204,7 @@ ALWAYS_INLINE int32_t ecs_hw_que_send(uint8_t u8dst_que_id, uint32_t u32value)
i32ret = smart_in_que(u8dst_que_id, u32value);
if (0 != i32ret)
{
UCP_PRINT_ERROR("[ecs_hw_que_send]: error(smart_in_que) que_id = 0x%08x addr = 0x%08x\r\n", u8dst_que_id, u32value);
//UCP_PRINT_ERROR("[ecs_hw_que_send]: error(smart_in_que) que_id = 0x%08x addr = 0x%08x\r\n", u8dst_que_id, u32value);
debug_write(DBG_DDR_ERR_IDX(apeId, 41), i32ret);
return i32ret;
}
@ -232,7 +232,7 @@ ALWAYS_INLINE int32_t ecs_hw_que_recv(uint8_t u8dst_que_id, uint32_t *pu32value)
i32ret = smart_out_que(u8dst_que_id, pu32value);
if (0 != i32ret)
{
UCP_PRINT_ERROR("[ecs_hw_que_recv]: smart_out_que error... que_id = 0x%08x \r\n", u8dst_que_id);
//UCP_PRINT_ERROR("[ecs_hw_que_recv]: smart_out_que error... que_id = 0x%08x \r\n", u8dst_que_id);
debug_write(DBG_DDR_ERR_IDX(apeId, 42), i32ret);
return i32ret;
}