]> 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)
commit0e5a59c9249922bea48be8ffdbe5fe582118f32b
tree303d381e95b7fefc1a4a521a822626b243d999ba
parent54ed53ff660f6e6aefaaeee58c3361c45e37be7d
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