drm/radeon/dpm: select the appropriate vce power state for KV/KB/ML
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Aug 2014 05:22:31 +0000 (01:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Aug 2014 04:58:19 +0000 (00:58 -0400)
commitc83dec3bb6c38629398b65c231c80978b3e00e14
tree1ef02c86b39c6f73f377b54fdeb8796049bc209e
parentb07a657e3a05b81c8a30d60e3f3746ca5a48ee62
drm/radeon/dpm: select the appropriate vce power state for KV/KB/ML

Compare the clock in the limits table to the requested evclk rather
than just taking the first value.  Improves vce performance in certain
cases.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/kv_dpm.c