]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Enable and disable screen in primary-plane functions
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Dec 2019 11:15:52 +0000 (12:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 10 Dec 2019 13:25:28 +0000 (14:25 +0100)
commitf49dea9cb3bbb8141986227c2c6b72d6e49f608e
treebdd9a47de81058412dd4354fe78d43a2218e3af2
parent9bf8683c5891d70461a6da39aeafad83046460b8
drm/ast: Enable and disable screen in primary-plane functions

Enabling and disabling the screen used to be done in the register
initialization and the DPMS function. None of these places is related
to the screen's output.

Now the primary plane's update and disable functions handle screen
display state. The primary plane can now be switched off without
displaying garbage.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202111557.15176-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c