drm/amd/powerplay: revise clock level setup
authorEvan Quan <evan.quan@amd.com>
Mon, 11 Jun 2018 08:04:17 +0000 (16:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:53 +0000 (16:38 -0500)
commit8fd26361701187e6fbb56c7c8bf22b4ab763b082
tree38054da1e2e86d14ba52f7ca4f47dbad47a46716
parent70fef5741c6b82ad293a225f116006565646fb72
drm/amd/powerplay: revise clock level setup

Make sure the clock level set only on dpm enabled. Also uvd/vce/soc
clock also changed correspondingly.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c