drm/radeon/kms: add bounds checking to avivo pll algo
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 14 Feb 2011 16:43:10 +0000 (11:43 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Feb 2011 23:18:50 +0000 (09:18 +1000)
commita4b40d5d97f5c9ad0b7f4bf2818291ca184bb433
treed6286b29edab8ead8b42c9f53607e368ff57fe91
parentbd91572e77013aad242e2d2d565bd730c043f8b8
drm/radeon/kms: add bounds checking to avivo pll algo

Prevent divider overflow.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=28932

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c