]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-dv-timings: add condition checks for reduced fps
authorPrashant Laddha <prladdha@cisco.com>
Tue, 22 Sep 2015 14:27:28 +0000 (11:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:05:14 +0000 (15:05 -0200)
commitc41c020419050021d07683d63b3e3733e4dedd40
tree727c1feb893e0ab3e9849ba730c0cf6b1066bc80
parent390fa52c4ce2764591908644ac45b70149e46aef
[media] v4l2-dv-timings: add condition checks for reduced fps

Added a helper function to check necessary conditions required for
reduced fps. The reduced fps is supported for CVT and CEA861 timings.
CVT supports reduced fps only if reduced blanking v2 (indicated by
vsync = 8) is true. Whereas CEA861 supports reduced fps if
V4L2_DV_FL_CAN_REDUCE_FPS flag is true.

Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dv-timings.c
include/media/v4l2-dv-timings.h