Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
751 B
C
31 lines
751 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2016 BayLibre, SAS
|
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
|
*/
|
|
|
|
/* Video Post Process */
|
|
|
|
#ifndef __MESON_VPP_H
|
|
#define __MESON_VPP_H
|
|
|
|
struct drm_rect;
|
|
struct meson_drm;
|
|
|
|
/* Mux VIU/VPP to ENCL */
|
|
#define MESON_VIU_VPP_MUX_ENCL 0x0
|
|
/* Mux VIU/VPP to ENCI */
|
|
#define MESON_VIU_VPP_MUX_ENCI 0x5
|
|
/* Mux VIU/VPP to ENCP */
|
|
#define MESON_VIU_VPP_MUX_ENCP 0xA
|
|
|
|
void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux);
|
|
|
|
void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv,
|
|
struct drm_rect *input);
|
|
void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv);
|
|
|
|
void meson_vpp_init(struct meson_drm *priv);
|
|
|
|
#endif /* __MESON_VPP_H */
|