mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
video: change the correct config define for notify amvideo
PD#163615: video: change the correct config define for notify amvideo Change-Id: I57a049060e355b396591003463454292e10ad164 Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
@@ -1230,7 +1230,7 @@ static int notify_to_amvideo(void)
|
||||
"osd notify_to_amvideo vpp misc:0x%08x, mask:0x%08x\n",
|
||||
para[0], para[1]);
|
||||
if (osd_hw.hw_rdma_en) {
|
||||
#ifdef CONFIG_AMLOGIC_VIDEO
|
||||
#ifdef CONFIG_AMLOGIC_MEDIA_VIDEO
|
||||
amvideo_notifier_call_chain(
|
||||
AMVIDEO_UPDATE_OSD_MODE,
|
||||
(void *)¶[0]);
|
||||
|
||||
@@ -263,10 +263,17 @@ u32 get_blackout_policy(void);
|
||||
int get_video0_frame_info(struct vframe_s *vf);
|
||||
|
||||
#define AMVIDEO_UPDATE_OSD_MODE 0x00000001
|
||||
#ifdef CONFIG_AMLOGIC_MEDIA_VIDEO
|
||||
int amvideo_notifier_call_chain(unsigned long val, void *v);
|
||||
#else
|
||||
static inline int amvideo_notifier_call_chain(unsigned long val, void *v)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int query_video_status(int type, int *value);
|
||||
int get_video0_frame_info(struct vframe_s *vf);
|
||||
int amvideo_notifier_call_chain(unsigned long val, void *v);
|
||||
struct device *get_video_device(void);
|
||||
extern unsigned int DI_POST_REG_RD(unsigned int addr);
|
||||
extern int DI_POST_WR_REG_BITS(u32 adr, u32 val, u32 start, u32 len);
|
||||
|
||||
Reference in New Issue
Block a user