diff options
author | Liu Ying <victor.liu@nxp.com> | 2017-07-25 11:44:35 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 984cdf2bed87b7e930ab1c1aa8497afbc3c081b0 (patch) | |
tree | 20e0c7ae642503828cda3610bfd7c395152d317a | |
parent | 76b7c8927201523e0107410ab9ccd76b723be7ed (diff) |
MLK-16075-15 gpu: imx: dpu: fetchdecode: Specify DPU_VPROC_CAP_FETCHECO0/1 cap
This patch specifies DPU_VPROC_CAP_FETCHECO0/1 video processing
capabilities of fetchdecode.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
-rw-r--r-- | drivers/gpu/imx/dpu/dpu-fetchdecode.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/drivers/gpu/imx/dpu/dpu-fetchdecode.c b/drivers/gpu/imx/dpu/dpu-fetchdecode.c index 20391b148f5d..df1f4541f3e0 100644 --- a/drivers/gpu/imx/dpu/dpu-fetchdecode.c +++ b/drivers/gpu/imx/dpu/dpu-fetchdecode.c @@ -25,15 +25,21 @@ #define FD_NUM_V2 2 static const u32 fd_vproc_cap_v1[FD_NUM_V1] = { - DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4, - DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5, - DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4, - DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5, + DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4 | + DPU_VPROC_CAP_FETCHECO0, + DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5 | + DPU_VPROC_CAP_FETCHECO1, + DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4 | + DPU_VPROC_CAP_FETCHECO0, + DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5 | + DPU_VPROC_CAP_FETCHECO1, }; static const u32 fd_vproc_cap_v2[FD_NUM_V2] = { - DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4, - DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5, + DPU_VPROC_CAP_HSCALER4 | DPU_VPROC_CAP_VSCALER4 | + DPU_VPROC_CAP_FETCHECO0, + DPU_VPROC_CAP_HSCALER5 | DPU_VPROC_CAP_VSCALER5 | + DPU_VPROC_CAP_FETCHECO1, }; #define PIXENGCFG_DYNAMIC 0x8 |