drm/mgag200: Split PLL compute function for G200SE by rev
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 14 Jul 2021 14:22:35 +0000 (16:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:13:58 +0000 (20:13 +0200)
commitac643ccd3023e967cad895f7eb7ff4a02135020a
tree5c1e13d99b1c81cab5e25bb741939408db11d365
parent35b36ff4495a4b6f872f304cb97d47b13197874b
drm/mgag200: Split PLL compute function for G200SE by rev

The compute function for G200SE pixel PLLs handles two revisions with
different algorithms. Split it accordingly to make it readable. No
functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714142240.21979-9-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c