drm/radeon/dpm: select the appropriate vce power state for KV/KB/ML

commit c83dec3bb6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alex Deucher 2014-08-14 01:22:31 -04:00 • committed by Greg Kroah-Hartman
commit 64e33caeb3