]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Program display mode in CRTC's atomic_enable()
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 14 Sep 2020 07:22:35 +0000 (09:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 16 Sep 2020 11:08:05 +0000 (13:08 +0200)
commit9626e2843b7c7f20c2ac2e04a9c139083a7bd3c0
tree3c9bc77822c240ee90f82658f1eb2ab857ba1ad1
parent40a573aad7939a3d1754f6aec54b9849d9d5121b
drm/ast: Program display mode in CRTC's atomic_enable()

This change simplifies ast's modesetting code. The display mode
is now programmed from within the CRTC's atomic_enable(), which
only runs if we actually want to program the mode.

Corresponding code in atomic_flush() is being removed. Also removed
is atomic_begin(), which serves no purpose at all.

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-4-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c