drm/radeon: prefer lower reference dividers
authorChristian König <christian.koenig@amd.com>
Mon, 6 May 2019 17:57:52 +0000 (19:57 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 May 2019 22:46:56 +0000 (17:46 -0500)
commit2e26ccb119bde03584be53406bbd22e711b0d6e6
tree47f2e625ddffe57f47b0653e3a6a5b4833e7e46c
parentdb8a974f7e6966d73b4e6afa673c5b8bc31a111e
drm/radeon: prefer lower reference dividers

Instead of the closest reference divider prefer the lowest,
this fixes flickering issues on HP Compaq nx9420.

Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=108514
Suggested-by: Paul Dufresne <dufresnep@gmail.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_display.c