diff options
author | Julien Masson <jmasson@baylibre.com> | 2019-06-24 16:48:43 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-09 12:05:30 +0200 |
commit | 147ae1cbaa18429b9450fd47136a29653294aaad (patch) | |
tree | 7f2d20cde232452556b2f41a3946bb3d05c288de /drivers/gpu/drm/meson/meson_venc.c | |
parent | 0ce266d018f4749c7049df76d7f670a675bfa9c6 (diff) | |
download | lwn-147ae1cbaa18429b9450fd47136a29653294aaad.tar.gz lwn-147ae1cbaa18429b9450fd47136a29653294aaad.zip |
drm: meson: viu: use proper macros instead of magic constants
This patch add new macros which are used to set the following
registers:
- VIU_SW_RESET
- VIU_OSD1_CTRL_STAT
- VIU_OSD2_CTRL_STAT
- VIU_OSD1_FIFO_CTRL_STAT
- VIU_OSD2_FIFO_CTRL_STAT
- VIU_MISC_CTRL0
- VIU_OSD_BLEND_CTRL
- OSD1_BLEND_SRC_CTRL
- OSD2_BLEND_SRC_CTRL
- DOLBY_PATH_CTRL
Signed-off-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: fix OSD1_BLEND_SRC_CTRL register init value for G12A]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/86sgrz82em.fsf@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/meson/meson_venc.c')
0 files changed, 0 insertions, 0 deletions