media: v4l: vsp1: Extend the DU API to support CRC computation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 1 Dec 2017 11:47:19 +0000 (06:47 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 17 May 2018 10:22:08 +0000 (06:22 -0400)
commit6e274b43b5730f53029354fc10c0beabefed60e2
treefb5a7fad08fb91547ca2afd55025ad895e949aa1
parent0d93d5c915d5b8a7f74f6d3e59748c06adcf6e9f
media: v4l: vsp1: Extend the DU API to support CRC computation

Add a parameter (in the form of a structure to ease future API
extensions) to the VSP atomic flush handler to pass CRC source
configuration, and pass the CRC value to the completion callback.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/gpu/drm/rcar-du/rcar_du_vsp.c
drivers/media/platform/vsp1/vsp1_drm.c
drivers/media/platform/vsp1/vsp1_drm.h
include/media/vsp1.h