drm/radeon/kms: fix up dce6 display watermark calc for dpm
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 May 2012 14:43:25 +0000 (10:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:23 +0000 (10:49 -0400)
commitc696e53f78d321999e87ccc0ec25204d385d9137
treeaae1d2f363ca1d0768f1d41b6b0e84193ed1e8a0
parentcf0cfdd7a7c87dff0f4ac6084b73fec83caa71a4
drm/radeon/kms: fix up dce6 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/si.c