drm/radeon/kms: fix up 6xx/7xx display watermark calc for dpm
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Oct 2012 21:02:17 +0000 (17:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:22 +0000 (10:49 -0400)
commit7d99e5177477866fce3df146d4fe378248032230
tree080fc3d6bf0ee750503decdc0cc917a636dd6f6b
parent3a4d8f7b61378d0811ac892a77d4434b01f17d1c
drm/radeon/kms: fix up 6xx/7xx 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/rv515.c