drm/amd/powerplay: correct vega12 max num of dpm level
authorEvan Quan <evan.quan@amd.com>
Mon, 11 Jun 2018 08:33:40 +0000 (16:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:55 +0000 (16:38 -0500)
commita0a59c8fc7af37287228a0c89b0a71a1ffadc29b
tree2fd73b7d041475f90b6997911fc0d3b736b37b18
parent30222561808f8fdf6d56c22ccfe3d9140fd0a169
drm/amd/powerplay: correct vega12 max num of dpm level

Use MAX_NUM_CLOCKS instead of VG12_PSUEDO* macros for
the max number of dpm levels.

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