MLK-16075-12 gpu: imx: dpu: common: Add helpers dpu_vproc_has/get_fetcheco_cap()
authorLiu Ying <victor.liu@nxp.com>
Tue, 25 Jul 2017 03:40:22 +0000 (11:40 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:51 +0000 (15:33 -0500)
commit8334782ff64c20443ec43c78fc6ce2a4bd7dbc9c
tree4ffd5e1254ce5bdb619ea78d7db04f6152e3f915
parent4b00cf841a303619ef752743279ea16ad267dcd0
MLK-16075-12 gpu: imx: dpu: common: Add helpers dpu_vproc_has/get_fetcheco_cap()

This patch adds helpers dpu_vproc_has/get_fetcheco_cap() support
so that the users may check if a video processing mask has fetcheco
capability or get the fetcheco capability from the mask.
We currently only support fetcheco0 and fetcheco1.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/imx/dpu/dpu-common.c
drivers/gpu/imx/dpu/dpu-prv.h
include/video/dpu.h