|
@@ -262,6 +262,8 @@ void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
|
|
|
|
|
|
htot = V4L2_DV_BT_FRAME_WIDTH(bt);
|
|
|
vtot = V4L2_DV_BT_FRAME_HEIGHT(bt);
|
|
|
+ if (bt->interlaced)
|
|
|
+ vtot /= 2;
|
|
|
|
|
|
if (prefix == NULL)
|
|
|
prefix = "";
|
|
@@ -282,6 +284,11 @@ void v4l2_print_dv_timings(const char *dev_prefix, const char *prefix,
|
|
|
dev_prefix, bt->vfrontporch,
|
|
|
(bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
|
|
|
bt->vsync, bt->vbackporch);
|
|
|
+ if (bt->interlaced)
|
|
|
+ pr_info("%s: vertical bottom field: fp = %u, %ssync = %u, bp = %u\n",
|
|
|
+ dev_prefix, bt->il_vfrontporch,
|
|
|
+ (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
|
|
|
+ bt->il_vsync, bt->il_vbackporch);
|
|
|
pr_info("%s: pixelclock: %llu\n", dev_prefix, bt->pixelclock);
|
|
|
pr_info("%s: flags (0x%x):%s%s%s%s%s\n", dev_prefix, bt->flags,
|
|
|
(bt->flags & V4L2_DV_FL_REDUCED_BLANKING) ?
|