vdin: Get video hdr status from vdin [1/1]

PD#SWPL-9636

Problem:
upper layer get signal type is too late,cause screen flash

Solution:
report signal type to upper layer directly in vdin module

Verify:
verified by t962x2_x301

Change-Id: I08f7754f20ba8b6b00a34387dcaf4aee7fdc2185
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
This commit is contained in:
zhiwei.yuan
2019-06-11 15:43:33 +08:00
committed by Tao Zeng
parent 85e8bb7d68
commit b335bb5fd1
2 changed files with 3 additions and 0 deletions

View File

@@ -4216,6 +4216,8 @@ void vdin_set_drm_data(struct vdin_dev_s *devp,
vf->signal_type = ((1 << 8) |
(vf->signal_type & (~0xFF00)));
}
devp->parm.info.signal_type = vf->signal_type;
}
u32 vdin_get_curr_field_type(struct vdin_dev_s *devp)

View File

@@ -314,6 +314,7 @@ struct tvin_info_s {
enum tvin_color_fmt_e cfmt;
unsigned int fps;
unsigned int is_dvi;
unsigned int signal_type;
};
struct tvin_frontend_info_s {