drm/amd/powerplay: add atomctrl function to calculate CZ sclk dividers
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 14 Nov 2015 03:00:01 +0000 (22:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:37 +0000 (16:42 -0500)
commitd39d5c2c9dcfb9e9aec2be154784a12f5b4a6c97
tree52e3c5f18c3d973b5c3d1e45ecfcb39412844050
parent92b05d827df2ffe348f7dc2cfb67807a4efdadd2
drm/amd/powerplay: add atomctrl function to calculate CZ sclk dividers

Use atombios to calculate the values.

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