Merge amd-staging into amd-master 20241114
Signed-off-by: Zhang Ava <niandong.zhang@amd.com> Change-Id: I97175c160d157e6f8ad0d94b65d2b6f2a2384949
This commit is contained in:
@@ -3726,8 +3726,10 @@ rsmi_counter_available_counters_get(uint32_t dv_ind,
|
||||
* @details Given a non-NULL pointer to an array @p procs of
|
||||
* ::rsmi_process_info_t's, of length *@p num_items, this function will write
|
||||
* up to *@p num_items instances of ::rsmi_process_info_t to the memory pointed
|
||||
* to by @p procs. These instances contain information about each process
|
||||
* utilizing a GPU. If @p procs is not NULL, @p num_items will be updated with
|
||||
* to by @p procs. These instances contain information about each GPU compute
|
||||
* process and their PASID for further analysis or monitoring via
|
||||
* ::rsmi_compute_process_info_by_pid_get().
|
||||
* If @p procs is not NULL, @p num_items will be updated with
|
||||
* the number of processes actually written. If @p procs is NULL, @p num_items
|
||||
* will be updated with the number of processes for which there is current
|
||||
* process information. Calling this function with @p procs being NULL is a way
|
||||
|
||||
@@ -122,9 +122,8 @@ void TestPciReadWrite::Run(void) {
|
||||
|
||||
ret = rsmi_dev_pci_throughput_get(dv_ind, &sent, &received, &max_pkt_sz);
|
||||
if (ret == RSMI_STATUS_NOT_SUPPORTED) {
|
||||
std::cout << "TEST FAILURE: Current PCIe throughput is not detected. "
|
||||
"This is likely because it is not indicated in the pcie_bw sysfs "
|
||||
"file. Aborting test." << std::endl;
|
||||
std::cout << "WARNING: Current PCIe throughput is not detected. "
|
||||
"pcie_bw sysfs file is no longer supported on this device. Aborting test." << std::endl;
|
||||
|
||||
// We don't need to verify api support checking functionality is working
|
||||
// as the user may choose to have any of the input parameters as 0.
|
||||
@@ -144,9 +143,8 @@ void TestPciReadWrite::Run(void) {
|
||||
ret = rsmi_dev_pci_bandwidth_get(dv_ind, &bw);
|
||||
|
||||
if (ret == RSMI_STATUS_NOT_SUPPORTED) {
|
||||
std::cout << "TEST FAILURE: Current PCIe bandwidth is not detected. "
|
||||
"This is likely because it is not indicated in the pp_dpm_pcie sysfs "
|
||||
"file. Aborting test." << std::endl;
|
||||
std::cout << "WARNING: Current PCIe bandwidth is not detected. "
|
||||
"pp_dpm_pcie sysfs file is no longer supported on this device. Aborting test." << std::endl;
|
||||
// Verify api support checking functionality is working
|
||||
ret = rsmi_dev_pci_bandwidth_get(dv_ind, nullptr);
|
||||
ASSERT_EQ(ret, RSMI_STATUS_NOT_SUPPORTED);
|
||||
|
||||
Reference in New Issue
Block a user