Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cca1f412 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Halt the AXI after SYS error from Venus"

parents 5e9a982b 8dc5da25
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3262,6 +3262,14 @@ static void venus_hfi_process_msg_event_notify(

		venus_hfi_set_state(device, VENUS_STATE_DEINIT);

		/* Once SYS_ERROR received from HW, it is safe to halt the AXI.
		 * With SYS_ERROR, Venus FW may have crashed and HW might be
		 * active and causing unnecessary transactions. Hence it is
		 * safe to stop all AXI transactions from venus sub-system. */
		if (venus_hfi_halt_axi(device))
			dprintk(VIDC_WARN,
				"Failed to halt AXI after SYS_ERROR\n");

		vsfr = (struct hfi_sfr_struct *)
				device->sfr.align_virtual_addr;
		if (vsfr) {