]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon/dpm: fetch the max clk from voltage dep tables helper
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Sep 2013 17:47:57 +0000 (13:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Sep 2013 14:29:51 +0000 (10:29 -0400)
commit7102e23288f9fb6f1c53a7ed27707cf1b4f22227
tree84844a72d66c015dc687b9a45e2601f277d6424a
parent142a4e9079e4c81a003bd966a6bf5ca7f466057a
drm/radeon/dpm: fetch the max clk from voltage dep tables helper

This patch adds a helper function to fetch the max clock
from the voltage clock dependecy tables.  Clocks above that
level tend to be unstable and will require additional driver
tweaks in order to work properly.

This patch implemented the helper function to fetch the max clocks
from the dependency tables.  The following patches implement the
per-asic clock filtering.

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

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