Browse Source

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 <[email protected]>
Akshata Sahukar 4 năm trước cách đây
mục cha
commit
4cf4cc9a01
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      driver/vidc/src/venus_hfi.c

+ 4 - 3
driver/vidc/src/venus_hfi.c

@@ -2913,7 +2913,8 @@ int venus_hfi_session_command(struct msm_vidc_inst *inst,
 
 	rc = hfi_create_packet(inst->packet, inst->packet_size,
 			cmd,
-			HFI_HOST_FLAGS_NONE,
+			(HFI_HOST_FLAGS_RESPONSE_REQUIRED |
+			HFI_HOST_FLAGS_INTR_REQUIRED),
 			payload_type,
 			get_hfi_port(inst, port),
 			core->packet_id++,
@@ -2962,7 +2963,7 @@ int venus_hfi_queue_buffer(struct msm_vidc_inst *inst,
 	rc = hfi_create_packet(inst->packet,
 			inst->packet_size,
 			HFI_CMD_BUFFER,
-			HFI_HOST_FLAGS_NONE,
+			HFI_HOST_FLAGS_INTR_REQUIRED,
 			HFI_PAYLOAD_STRUCTURE,
 			get_hfi_port_from_buffer_type(inst, buffer->type),
 			core->packet_id++,
@@ -2978,7 +2979,7 @@ int venus_hfi_queue_buffer(struct msm_vidc_inst *inst,
 		rc = hfi_create_packet(inst->packet,
 			inst->packet_size,
 			HFI_CMD_BUFFER,
-			HFI_HOST_FLAGS_NONE,
+			HFI_HOST_FLAGS_INTR_REQUIRED,
 			HFI_PAYLOAD_STRUCTURE,
 			get_hfi_port_from_buffer_type(inst, metabuf->type),
 			core->packet_id++,