drm/amd/pp: Send khz clock values to DC for smu7/8
authorHarry Wentland <harry.wentland@amd.com>
Mon, 9 Jul 2018 17:48:12 +0000 (13:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jul 2018 19:17:59 +0000 (14:17 -0500)
commitc3cb424a086921f6bb0449b10d998352a756d6d5
tree8d6e9e56abf359658eaa652ba2cc0630ebcf63f1
parente85115786ae1bdcfd86da759928a2b644204d42a
drm/amd/pp: Send khz clock values to DC for smu7/8

The previous change wasn't covering smu 7 and 8 and therefore DC was
seeing wrong clock values.

This fixes an issue where the pipes seem to hang with a 4k DP and 1080p
HDMI display.

Fixes: c3df50abc84b ("drm/amd/pp: Convert clock unit to KHz as defined")
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Cc:rex.zhu@amd.com
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c