Merge "msm: cvp: Support new HFI FLUSH MSG value"

This commit is contained in:
qctecmdr 2020-06-03 04:18:28 -07:00 • committed by Gerrit - the friendly Code Review server
commit 321b58ecd6
2 changed files with 4 additions and 1 deletions

View file

@ -146,8 +146,10 @@
(HFI_MSG_SESSION_CVP_START + 0x037)
#define HFI_MSG_SESSION_CVP_RELEASE_PERSIST_BUFFERS\
(HFI_MSG_SESSION_CVP_START + 0x038)
#define HFI_MSG_SESSION_CVP_FLUSH\
#define HFI_MSG_SESSION_CVP_FLUSH_DEPRECATE\
(HFI_CMD_SESSION_CVP_START + 0x03A)
#define HFI_MSG_SESSION_CVP_FLUSH\
(HFI_MSG_SESSION_CVP_START + 0x03A)
#define CVP_IFACEQ_MAX_PKT_SIZE 1024
#define CVP_IFACEQ_MED_PKT_SIZE 768

View file

@ -648,6 +648,7 @@ int cvp_hfi_process_msg_packet(u32 device_id, void *hdr,
pkt_func = (pkt_func_def)hfi_process_session_abort_done;
break;
case HFI_MSG_SESSION_CVP_FLUSH:
case HFI_MSG_SESSION_CVP_FLUSH_DEPRECATE:
pkt_func = (pkt_func_def)hfi_process_session_flush_done;
break;
case HFI_MSG_SESSION_CVP_OPERATION_CONFIG: