Commit 737ea6cf authored by Minghsiu Tsai's avatar Minghsiu Tsai Committed by Mauro Carvalho Chehab

[media] VPU: mediatek: Add mdp support

VPU driver add mdp support

[mchehab@s-opensource.com: fix a merge conflict and make checkpatch happy]
Signed-off-by: default avatarMinghsiu Tsai <minghsiu.tsai@mediatek.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 60eaae2b
...@@ -53,6 +53,8 @@ typedef void (*ipi_handler_t) (void *data, ...@@ -53,6 +53,8 @@ typedef void (*ipi_handler_t) (void *data,
* handle H264 video encoder job, and vice versa. * handle H264 video encoder job, and vice versa.
* @IPI_VENC_VP8: The interrupt fro vpu is to notify kernel to * @IPI_VENC_VP8: The interrupt fro vpu is to notify kernel to
* handle VP8 video encoder job,, and vice versa. * handle VP8 video encoder job,, and vice versa.
* @IPI_MDP: The interrupt from vpu is to notify kernel to
* handle MDP (Media Data Path) job, and vice versa.
* @IPI_MAX: The maximum IPI number * @IPI_MAX: The maximum IPI number
*/ */
...@@ -63,6 +65,7 @@ enum ipi_id { ...@@ -63,6 +65,7 @@ enum ipi_id {
IPI_VDEC_VP9, IPI_VDEC_VP9,
IPI_VENC_H264, IPI_VENC_H264,
IPI_VENC_VP8, IPI_VENC_VP8,
IPI_MDP,
IPI_MAX, IPI_MAX,
}; };
...@@ -71,11 +74,13 @@ enum ipi_id { ...@@ -71,11 +74,13 @@ enum ipi_id {
* *
* @VPU_RST_ENC: encoder reset id * @VPU_RST_ENC: encoder reset id
* @VPU_RST_DEC: decoder reset id * @VPU_RST_DEC: decoder reset id
* @VPU_RST_MDP: MDP (Media Data Path) reset id
* @VPU_RST_MAX: maximum reset id * @VPU_RST_MAX: maximum reset id
*/ */
enum rst_id { enum rst_id {
VPU_RST_ENC, VPU_RST_ENC,
VPU_RST_DEC, VPU_RST_DEC,
VPU_RST_MDP,
VPU_RST_MAX, VPU_RST_MAX,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment