]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Introduce separate variable for PLL S parameter
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 14 Jul 2021 14:22:32 +0000 (16:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:13:45 +0000 (20:13 +0200)
commitd9d992238a5aaf1a1e2ba013dd37dccf7b48c0a7
treea9910f2f46491976fcc7b972cca75830caabf788
parentf86c3ed55920ca1d874758cc290890902a6cffc4
drm/mgag200: Introduce separate variable for PLL S parameter

The S parameter is controls the loop filter bandwidth when programming
the PLL. It's currently stored as part of P (i.e., the clock divider.)

Add a separate variable for S prepares the PLL code for further
refactoring. The value of s is currently 0, so it has not yet an effect
on the programming.

v2:
* add a note on the current value of s to commit message

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