mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
vpp: add afd module back for s1a [1/1]
PD#SWPL-136303 Problem: add afd module back for s1a Solution: add afd module back for s1a Verify: s1a Change-Id: I382cc43ef5d92a1d4b85a9f5515c8dfe2c573f4d Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
5f585853c5
commit
f66fffbbea
@@ -17,29 +17,6 @@
|
||||
/* Local Headers */
|
||||
#include "video_priv.h"
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_ZAPPER_CUT
|
||||
bool is_afd_available(u8 id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
int afd_process(u8 id, struct afd_in_param *in, struct afd_out_param *out)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int register_afd_function(struct VPP_AFD_Func_Ptr *func, const char *ver)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(register_afd_function);
|
||||
|
||||
int unregister_afd_function(struct VPP_AFD_Func_Ptr *func)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(unregister_afd_function);
|
||||
#else
|
||||
static DEFINE_MUTEX(afd_mutex);
|
||||
static struct VPP_AFD_Func_Ptr *gfunc;
|
||||
static void *afd_handle[MAX_VD_LAYER];
|
||||
@@ -139,4 +116,3 @@ int unregister_afd_function(struct VPP_AFD_Func_Ptr *func)
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(unregister_afd_function);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user