drm/mgag200: Update mode registers after plane registers
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 15 May 2020 08:32:24 +0000 (10:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 May 2020 07:41:33 +0000 (09:41 +0200)
commitddb8d0520bbc6ffdf900fb2a2a21d203199c64b8
tree47f58be56dd2ffda727970de0e514c7152ddcf92
parentdb05f8d3dc875249a5a11737ca715584b72851e8
drm/mgag200: Update mode registers after plane registers

Setting the plane registers first and the mode registers afterwards
reproduces the sequence used by atomic helpers. Done in preparation
of switching to simple KMS helpers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: John Donnelly <John.p.donnelly@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515083233.32036-7-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c