msm: vidc: response handling
add response handling for commands, properties, system and session errors. Change-Id: I87a8cba136979d425d978dfe55317a3deb081c53 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:

committed by
Maheshwar Ajja

parent
55efff9d9f
commit
9a854613cd
18
driver/vidc/inc/venus_hfi_response.h
Normal file
18
driver/vidc/inc/venus_hfi_response.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __VENUS_HFI_RESPONSE_H__
|
||||
#define __VENUS_HFI_RESPONSE_H__
|
||||
|
||||
int handle_response(struct msm_vidc_core *core,
|
||||
void *response);
|
||||
int validate_packet(u8 *response_pkt, u8 *core_resp_pkt,
|
||||
u32 core_resp_pkt_size, const char *func);
|
||||
bool is_valid_port(struct msm_vidc_inst *inst, u32 port,
|
||||
const char *func);
|
||||
bool is_valid_hfi_buffer_type(struct msm_vidc_inst *inst,
|
||||
u32 buffer_type, const char *func);
|
||||
|
||||
#endif // __VENUS_HFI_RESPONSE_H__
|
Reference in New Issue
Block a user