]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: Implement atomic update for the DRM driver
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 10 Sep 2015 12:28:39 +0000 (09:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 11:31:19 +0000 (09:31 -0200)
commitdc21e5443229f1ee42899f5175b439742d60ecaf
tree3986d9c8ae6a9473a10e26a79d255c395d497d61
parent1ad451bd068aa36ac7c36c02d175f4c7cc91213a
[media] v4l: vsp1: Implement atomic update for the DRM driver

Add two API functions named vsp1_du_atomic_begin() and
vsp1_du_atomic_flush() to signal the start and end of an atomic update.
The vsp1_du_setup_rpf() function is renamed to vsp1_du_atomic_update()
for consistency.

With this new API, the driver will reprogram all modified inputs
atomically before restarting the video stream.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_drm.c
drivers/media/platform/vsp1/vsp1_drm.h
include/media/vsp1.h