]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: Use crtc_state for hdisplay and fix atomic flush/enable sync for vsync...
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 12:15:21 +0000 (14:15 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 15:49:30 +0000 (17:49 +0200)
commit0acef289e4e41158d65913065dd7f0fca62de031
tree303d381e95b7fefc1a4a521a822626b243d999ba
parent9ec6dcf002ab5fee36ec1c11eeddbc2efd0d8b56
drm/meson: Use crtc_state for hdisplay and fix atomic flush/enable sync for vsync commit

Clean the crtc_enable by using the proper crtc_state instead of the state
of the primary plane state data.

Also fix the dependency to commit the plane changes even if enable is called
after the flush.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/gpu/drm/meson/meson_crtc.c