OSDN Git Service

drm/powerplay: print current clock level when dpm is disabled on vg20
authorshaoyunl <shaoyun.liu@amd.com>
Tue, 19 Feb 2019 21:02:11 +0000 (16:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Feb 2019 21:34:18 +0000 (16:34 -0500)
commit6a7a20ed29ca427c961020e87cb809a3d79f6fa6
tree0405d15c4e7681796c781a7f4eb86c10a320bcba
parentfbac3c48fa6b4cfa43eaae39d5a53269bff7ec5f
drm/powerplay: print current clock level when dpm is disabled on vg20

When DPM for the specific clock is disabled, driver should still print out
current clock info for rocm-smi support on vega20

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Eric Huang <JinhuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c