]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd922b5347ffec3b1d83f93d8c8e9d4fd1a11d8b8
tree1ef02c86b39c6f73f377b54fdeb8796049bc209e
parent05489a3845490985f2018f3bb7264413c751d0ab
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