drm/radeon/kms: fix up dce4/5 display watermark calc for dpm
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Mar 2012 20:25:11 +0000 (16:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:22 +0000 (10:49 -0400)
commitcf0cfdd7a7c87dff0f4ac6084b73fec83caa71a4
treea4958e8831e0628a0cfb970a6d49b14027b075c7
parent7d99e5177477866fce3df146d4fe378248032230
drm/radeon/kms: fix up dce4/5 display watermark calc for dpm

Calculate the low and high watermarks based on the low and high
clocks for the current power state.  The dynamic pm hw will select
the appropriate watermark based on the internal dpm state.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c