drm/ast: Enable CRTC before planes
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 14 Sep 2020 07:22:36 +0000 (09:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 16 Sep 2020 11:08:10 +0000 (13:08 +0200)
commit2f0ddd89fe32f1534a17ca44ebccc939f8a74af4
tree4774286bc41da1382d49cc6f554b2b408bbe6a7e
parentf3901b5fee41e0410ad22133926e3f328174ab20
drm/ast: Enable CRTC before planes

An active cursor plane requires a valid display mode. Change the
commit_tail callback, so that it sets up the CRTC's mode before
updating planes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200914072236.19398-5-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c