drm/meson: move OSD scaler management into plane atomic update
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Nov 2018 09:40:01 +0000 (10:40 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Nov 2018 12:27:51 +0000 (13:27 +0100)
commit20d7fe034a2fda304dd9a8d2eb876f0fcaaef928
treee496c023c8b47f1447b6d5ddfb48068f1321fdea
parentf9a2348196d1ab92e155bdba705db95d8177e886
drm/meson: move OSD scaler management into plane atomic update

In preparation to support the Primary Plane scaling, move the basic
OSD Interlace-Only scaler setup code into the primary plane atomic
update callback and handle the vsync scaler update like the overlay
plane scaling registers update.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1541497202-20570-3-git-send-email-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_crtc.c
drivers/gpu/drm/meson/meson_drv.h
drivers/gpu/drm/meson/meson_plane.c
drivers/gpu/drm/meson/meson_vpp.c