drm/amd: Add missing definitions for `SMU_MAX_LEVELS_VDDGFX`
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 15 Dec 2023 20:37:45 +0000 (14:37 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 19:48:23 +0000 (14:48 -0500)
commite48c8cbeebbd7e2e4d3fe8508b4beb7c00800de4
tree8aa9dd4bd3937ef8be53be01f1211aa1cb1cc2de
parentab44f9daa89c0f081cfd2d79bfe40b27b556a946
drm/amd: Add missing definitions for `SMU_MAX_LEVELS_VDDGFX`

It is reported that on a Topaz dGPU the kernel emits:
amdgpu: can't get the mac of 5

This is because there is no definition for max levels of VDDGFX
declared for SMU71 or SMU7. The correct definition is VDDC so
use this.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3049
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c