From bc200d205e4fd4e9f9f432322cdc9fb22572fb93 Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Fri, 16 Nov 2018 15:55:38 -0600 Subject: [PATCH] Add get and set routines for PCIe bandwidth --- include/rocm_smi/rocm_smi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/rocm_smi/rocm_smi.h b/include/rocm_smi/rocm_smi.h index 476134b09e..5ee6fe857c 100755 --- a/include/rocm_smi/rocm_smi.h +++ b/include/rocm_smi/rocm_smi.h @@ -312,18 +312,18 @@ rsmi_dev_pci_bandwidth_get(uint32_t dv_ind, rsmi_pcie_bandwidth *bandwidth); /** * @brief Control the set of allowed PCIe bandwidths that can be used. - * + * * @details Given a device index @p dv_ind and a 64 bit bitmask @p bw_bitmask, * this function will limit the set of allowable bandwidths. If a bit in @p * bw_bitmask has a value of 1, then the frequency (as ordered in an * rsmi_frequencies returned by rsmi_dev_get_gpu_clk_freq()) corresponding * to that bit index will be allowed. - * + * * This function will change the performance level to * ::RSMI_DEV_PERF_LEVEL_MANUAL in order to modify the set of allowable * band_widths. Caller will need to set to ::RSMI_DEV_PERF_LEVEL_AUTO in order * to get back to default state. - * + * * All bits with indices greater than or equal to * rsmi_pcie_bandwidth.transfer_rate.num_supported will be ignored. * @@ -630,7 +630,7 @@ rsmi_status_t rsmi_dev_fan_speed_get(uint32_t dv_ind, * @brief Get the max. fan speed of the device with provided device index. * * @details Given a device index @p dv_ind and a pointer to a uint32_t - * @p max_speed, this function will write the maxirsmi_dev_power_profile_semum fan speed possible to + * @p max_speed, this function will write the maximum fan speed possible to * the uint32_t pointed to by @p max_speed * * @param[in] dv_ind a device index