Эх сурвалжийг харах

Merge "video: driver: fix decoder testcase timeout issue"

qctecmdr 4 жил өмнө
parent
commit
322ed39d75

+ 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++,