drm/mgag200: Move register initialization into separate function
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 15 May 2020 08:32:29 +0000 (10:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 May 2020 07:41:33 +0000 (09:41 +0200)
commit4f710d7ce8deb7e1c7906818c8729c4057c10c77
tree0f2a3c64fa996da2a0fe0811a0ca47b61890cfc7
parent7fc1ae567dc693d61af119b8f5425dfe4dce7044
drm/mgag200: Move register initialization into separate function

Registers are initialized with constants. This is now done in
mgag200_init_regs(), mgag200_set_dac_regs() and mgag200_set_pci_regs().
Later patches should move these calls from mode setting to device
initialization.

v2:
* replace uint8_t with u8

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-12-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c