mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
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:
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user