msm: eva: Send EVA session error to UMD

Through POLL SSR event, only notify the error session. Other
sessions will not be impacted. This is different than SSR
handling.

Change-Id: I5acb4e21c19909b16350816621ae085d54fe05ac
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:
George Shen
2023-05-23 15:55:47 -07:00
gecommit door Gerrit - the friendly Code Review server
bovenliggende 4bd20f9c7c
commit 43c37a29e1
5 gewijzigde bestanden met toevoegingen van 69 en 161 verwijderingen

Bestand weergeven

@@ -3305,10 +3305,8 @@ static void **get_session_id(struct msm_cvp_cb_info *info)
case HAL_SESSION_PROPERTY_INFO:
case HAL_SESSION_EVENT_CHANGE:
case HAL_SESSION_DUMP_NOTIFY:
session_id = &info->response.cmd.session_id;
break;
case HAL_SESSION_ERROR:
session_id = &info->response.data.session_id;
session_id = &info->response.cmd.session_id;
break;
case HAL_RESPONSE_UNUSED:
default:
@@ -3525,6 +3523,7 @@ err_no_work:
}
dprintk(CVP_HFI, "Processing response %d of %d, type %d\n",
(i + 1), num_responses, r->response_type);
/* callback = void cvp_handle_cmd_response() */
device->callback(r->response_type, rsp);
}