drm/radeon/dpm/ci: filter clocks based on voltage/clk dep tables
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Sep 2013 18:16:01 +0000 (14:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Sep 2013 14:29:53 +0000 (10:29 -0400)
commita52b5eb647c728252b75365a0c44d78836661b27
treee3fbc06194a097e848bebf75b5720bd21b4e7c59
parent78fbdf0e9dcd84d54044fa1470880b689e34f9c6
drm/radeon/dpm/ci: filter clocks based on voltage/clk dep tables

Filter out mclk and sclk levels higher than listed in the clk
voltage dependency tables.  Supporting these clocks will require
additional driver tweaking that isn't supported yet.

See bug:
https://bugs.freedesktop.org/show_bug.cgi?id=68235

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c