Commit b4abff4b authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/powerplay/smu7: enable AVFS control via ppfeaturemask



Allow the user to disable AFVS via ppfeaturemask for debugging.

Reviewed-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a4ead3e5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -620,7 +620,8 @@ int smu7_init(struct pp_hwmgr *hwmgr)
		return -EINVAL;
	}

	if (smum_is_hw_avfs_present(hwmgr))
	if (smum_is_hw_avfs_present(hwmgr) &&
	    (hwmgr->feature_mask & PP_AVFS_MASK))
		hwmgr->avfs_supported = true;

	return 0;