1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2016 BayLibre, SAS
7 /* Video Post Process */
15 /* Mux VIU/VPP to ENCL */
16 #define MESON_VIU_VPP_MUX_ENCL 0x0
17 /* Mux VIU/VPP to ENCI */
18 #define MESON_VIU_VPP_MUX_ENCI 0x5
19 /* Mux VIU/VPP to ENCP */
20 #define MESON_VIU_VPP_MUX_ENCP 0xA
22 void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux);
24 void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv,
25 struct drm_rect *input);
26 void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv);
28 void meson_vpp_init(struct meson_drm *priv);
30 #endif /* __MESON_VPP_H */