summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mgag200/mgag200_pll.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-09-09 06:34:15 +0300
committerDave Airlie <airlied@redhat.com>2021-09-09 06:35:54 +0300
commitde04744d658bb36d62d94bf8fe040c51c2954d4e (patch)
tree2ce4fd7559ba1970a9c856707571959477bd054d /drivers/gpu/drm/mgag200/mgag200_pll.c
parent06b224d5162bc4e353ade4815dc8ed831f10b9b8 (diff)
parentefcefc7127290e7e9fa98dea029163ad8eda8fb3 (diff)
downloadlinux-de04744d658bb36d62d94bf8fe040c51c2954d4e.tar.xz
Merge tag 'drm-misc-next-fixes-2021-09-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next-fixes for v5.15: - Fix ttm_bo_move_memcpy() when ttm_resource is subclassed. - Small fixes to panfrost, mgag200, vc4. - Small ttm compilation fixes. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/41ff5e54-0837-2226-a182-97ffd11ef01e@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_pll.c')
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_pll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_pll.c b/drivers/gpu/drm/mgag200/mgag200_pll.c
index 7c903cf19c0d..e9ae22b4f813 100644
--- a/drivers/gpu/drm/mgag200/mgag200_pll.c
+++ b/drivers/gpu/drm/mgag200/mgag200_pll.c
@@ -124,6 +124,7 @@ static int mgag200_pixpll_compute_g200se_00(struct mgag200_pll *pixpll, long clo
unsigned int computed;
m = n = p = s = 0;
+ delta = 0xffffffff;
permitteddelta = clock * 5 / 1000;
for (testp = 8; testp > 0; testp /= 2) {