36 lines
705 B
C
36 lines
705 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
|
|
*
|
|
* author:
|
|
* Ding Wei <leo.ding@rock-chips.com>
|
|
*/
|
|
|
|
#ifndef __ROCKCHIP_MPP_HACK_RK3576_H__
|
|
#define __ROCKCHIP_MPP_HACK_RK3576_H__
|
|
|
|
#define RK3576_HACK_MAGIC (0x76543210)
|
|
|
|
#ifdef CONFIG_CPU_RK3576
|
|
int rk3576_workaround_init(struct mpp_dev *mpp);
|
|
int rk3576_workaround_exit(struct mpp_dev *mpp);
|
|
int rk3576_workaround_run(struct mpp_dev *mpp);
|
|
#else
|
|
static inline int rk3576_workaround_init(struct mpp_dev *mpp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int rk3576_workaround_exit(struct mpp_dev *mpp)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int rk3576_workaround_run(struct mpp_dev *mpp)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif
|