video: driver: fix decoder testcase timeout issue
Decoder full reconfig testcase timeouts and fails with fw logs disabled. Set only interrupt required flag without response required flag for HFI_CMD_BUFFER to fix this issue. Change-Id: I5509372fe34cbea8a62d7d9cb7f541ee2d6e1e15 Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
@@ -2913,7 +2913,8 @@ int venus_hfi_session_command(struct msm_vidc_inst *inst,
|
|||||||
|
|
||||||
rc = hfi_create_packet(inst->packet, inst->packet_size,
|
rc = hfi_create_packet(inst->packet, inst->packet_size,
|
||||||
cmd,
|
cmd,
|
||||||
HFI_HOST_FLAGS_NONE,
|
(HFI_HOST_FLAGS_RESPONSE_REQUIRED |
|
||||||
|
HFI_HOST_FLAGS_INTR_REQUIRED),
|
||||||
payload_type,
|
payload_type,
|
||||||
get_hfi_port(inst, port),
|
get_hfi_port(inst, port),
|
||||||
core->packet_id++,
|
core->packet_id++,
|
||||||
@@ -2962,7 +2963,7 @@ int venus_hfi_queue_buffer(struct msm_vidc_inst *inst,
|
|||||||
rc = hfi_create_packet(inst->packet,
|
rc = hfi_create_packet(inst->packet,
|
||||||
inst->packet_size,
|
inst->packet_size,
|
||||||
HFI_CMD_BUFFER,
|
HFI_CMD_BUFFER,
|
||||||
HFI_HOST_FLAGS_NONE,
|
HFI_HOST_FLAGS_INTR_REQUIRED,
|
||||||
HFI_PAYLOAD_STRUCTURE,
|
HFI_PAYLOAD_STRUCTURE,
|
||||||
get_hfi_port_from_buffer_type(inst, buffer->type),
|
get_hfi_port_from_buffer_type(inst, buffer->type),
|
||||||
core->packet_id++,
|
core->packet_id++,
|
||||||
@@ -2978,7 +2979,7 @@ int venus_hfi_queue_buffer(struct msm_vidc_inst *inst,
|
|||||||
rc = hfi_create_packet(inst->packet,
|
rc = hfi_create_packet(inst->packet,
|
||||||
inst->packet_size,
|
inst->packet_size,
|
||||||
HFI_CMD_BUFFER,
|
HFI_CMD_BUFFER,
|
||||||
HFI_HOST_FLAGS_NONE,
|
HFI_HOST_FLAGS_INTR_REQUIRED,
|
||||||
HFI_PAYLOAD_STRUCTURE,
|
HFI_PAYLOAD_STRUCTURE,
|
||||||
get_hfi_port_from_buffer_type(inst, metabuf->type),
|
get_hfi_port_from_buffer_type(inst, metabuf->type),
|
||||||
core->packet_id++,
|
core->packet_id++,
|
||||||
|
Reference in New Issue
Block a user