
- Added change to print buffer statistics like total and avg etb, ebd, ftb, fbd counts, client set fps, actual fps, bitrate values in 1 sec window and these stats currently configured to print at every 1sec boundary. - Convert meta buffer prints to low level logs. Change-Id: I1c93eea90fbd5460eb51bbf133c513157003d51e Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
28 行
929 B
C
28 行
929 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020-2021,, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __VENUS_HFI_RESPONSE_H__
|
|
#define __VENUS_HFI_RESPONSE_H__
|
|
|
|
#include "hfi_packet.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);
|
|
void handle_session_response_work_handler(struct work_struct *work);
|
|
int handle_session_response_work(struct msm_vidc_inst *inst,
|
|
struct response_work *work);
|
|
int cancel_response_work(struct msm_vidc_inst *inst);
|
|
int handle_system_error(struct msm_vidc_core *core,
|
|
struct hfi_packet *pkt);
|
|
void fw_coredump(struct msm_vidc_core *core);
|
|
|
|
#endif // __VENUS_HFI_RESPONSE_H__
|