[media] v4l2-dv-timings: log new V4L2_DV_FL_IS_CE_VIDEO flag
Add support for the new flag to v4l2_print_dv_timings(). Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
5ce65d1f87
commit
74d802d888
|
@ -282,7 +282,7 @@ void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
|
||||||
(bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
|
(bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
|
||||||
bt->vsync, bt->vbackporch);
|
bt->vsync, bt->vbackporch);
|
||||||
pr_info("%s: pixelclock: %llu\n", dev_prefix, bt->pixelclock);
|
pr_info("%s: pixelclock: %llu\n", dev_prefix, bt->pixelclock);
|
||||||
pr_info("%s: flags (0x%x):%s%s%s%s\n", dev_prefix, bt->flags,
|
pr_info("%s: flags (0x%x):%s%s%s%s%s\n", dev_prefix, bt->flags,
|
||||||
(bt->flags & V4L2_DV_FL_REDUCED_BLANKING) ?
|
(bt->flags & V4L2_DV_FL_REDUCED_BLANKING) ?
|
||||||
" REDUCED_BLANKING" : "",
|
" REDUCED_BLANKING" : "",
|
||||||
(bt->flags & V4L2_DV_FL_CAN_REDUCE_FPS) ?
|
(bt->flags & V4L2_DV_FL_CAN_REDUCE_FPS) ?
|
||||||
|
@ -290,7 +290,9 @@ void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
|
||||||
(bt->flags & V4L2_DV_FL_REDUCED_FPS) ?
|
(bt->flags & V4L2_DV_FL_REDUCED_FPS) ?
|
||||||
" REDUCED_FPS" : "",
|
" REDUCED_FPS" : "",
|
||||||
(bt->flags & V4L2_DV_FL_HALF_LINE) ?
|
(bt->flags & V4L2_DV_FL_HALF_LINE) ?
|
||||||
" HALF_LINE" : "");
|
" HALF_LINE" : "",
|
||||||
|
(bt->flags & V4L2_DV_FL_IS_CE_VIDEO) ?
|
||||||
|
" CE_VIDEO" : "");
|
||||||
pr_info("%s: standards (0x%x):%s%s%s%s\n", dev_prefix, bt->standards,
|
pr_info("%s: standards (0x%x):%s%s%s%s\n", dev_prefix, bt->standards,
|
||||||
(bt->standards & V4L2_DV_BT_STD_CEA861) ? " CEA" : "",
|
(bt->standards & V4L2_DV_BT_STD_CEA861) ? " CEA" : "",
|
||||||
(bt->standards & V4L2_DV_BT_STD_DMT) ? " DMT" : "",
|
(bt->standards & V4L2_DV_BT_STD_DMT) ? " DMT" : "",
|
||||||
|
|
Loading…
Reference in a new issue