]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98360572ce4978f1aa4c871988c5d8dee5fa7dd3
tree8d6e9e56abf359658eaa652ba2cc0630ebcf63f1
parent50267b305b5060cb4e78595221b681bb225d08f7
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