kernel_samsung_a34x-permissive/drivers/misc/mediatek/performance/frs/frs.h
2024-04-28 15:51:13 +02:00

26 lines
465 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef __FRS_H__
#define __FRS_H__
struct frs_info {
int enable;
int activated;
int pid;
int target_fps;
int diff;
int tpcb;
int tpcb_slope;
int ap_headroom;
int n_sec_to_ttpcb;
};
extern int (*eara_pre_change_fp)(void);
extern int (*eara_pre_change_single_fp)(int pid, unsigned long long bufID,
int target_fps);
int eara_nl_send_to_user(void *buf, int size);
#endif