mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
enable build amlvideodri.ko
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
config AMLOGIC_VIDEOBUF_RESOURCE
|
||||
bool "Amlogic V4L UTIL Support"
|
||||
tristate "Amlogic V4L UTIL Support"
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
select V4L2_MEM2MEM_DEV
|
||||
default n
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
obj-$(CONFIG_AMLOGIC_V4L_VIDEO) += video_dev/
|
||||
obj-$(CONFIG_AMLOGIC_V4L_VIDEO2) += video_dev/
|
||||
obj-$(CONFIG_AMLOGIC_POST_PROCESS_MANAGER) += ppmgr/
|
||||
obj-$(CONFIG_AMLOGIC_IONVIDEO) += ionvideo/
|
||||
|
||||
@@ -1419,6 +1419,7 @@ void get_ppmgr_buf_info(unsigned int *start, unsigned int *size)
|
||||
*start = ppmgr_device.buffer_start;
|
||||
*size = ppmgr_device.buffer_size;
|
||||
}
|
||||
EXPORT_SYMBOL(get_ppmgr_buf_info);
|
||||
|
||||
static int ppmgr_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
|
||||
@@ -184,6 +184,7 @@ bool platform_type = 1;
|
||||
int bit_depth_flag = 8;
|
||||
|
||||
bool omx_secret_mode;
|
||||
EXPORT_SYMBOL(omx_secret_mode);
|
||||
#define DEBUG_FLAG_FFPLAY (1<<0)
|
||||
#define DEBUG_FLAG_CALC_PTS_INC (1<<1)
|
||||
|
||||
|
||||
@@ -1928,6 +1928,7 @@ s32 vdec_init(struct vdec_s *vdec, int is_4k)
|
||||
goto error;
|
||||
}
|
||||
if (p->frame_base_video_path == FRAME_BASE_PATH_IONVIDEO) {
|
||||
#ifdef CONFIG_AMLOGIC_IONVIDEO
|
||||
#if 1
|
||||
r = ionvideo_assign_map(&vdec->vf_receiver_name,
|
||||
&vdec->vf_receiver_inst);
|
||||
@@ -1953,6 +1954,7 @@ s32 vdec_init(struct vdec_s *vdec, int is_4k)
|
||||
goto error;
|
||||
}
|
||||
|
||||
#endif
|
||||
snprintf(vdec->vfm_map_chain, VDEC_MAP_NAME_SIZE,
|
||||
"%s %s", vdec->vf_provider_name,
|
||||
vdec->vf_receiver_name);
|
||||
|
||||
Reference in New Issue
Block a user