drm/radeon: rework finding display PLL numbers v2
authorChristian König <christian.koenig@amd.com>
Fri, 28 Mar 2014 17:55:10 +0000 (18:55 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 3 Apr 2014 10:35:42 +0000 (12:35 +0200)
commit32167016076f714f0e35e287fbead7de0f1fb179
tree8a29b19742748c57b001cd43e30158b4f1395acb
parentec9954fc26719482c041991607f4329d563c4bbb
drm/radeon: rework finding display PLL numbers v2

This completely reworks how the PLL parameters are generated and
should result in better matching dot clock frequencies.

Probably needs quite a bit of testing.

bugs: https://bugs.freedesktop.org/show_bug.cgi?id=76564

v2: more cleanup and comments.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c