Renamed API amdsmi_get_device_bdf to amdsmi_get_gpu_device_bdf

grep -rli 'amdsmi_get_device_bdf' * | xargs -i@ sed -i
's/amdsmi_get_device_bdf/amdsmi_get_gpu_device_bdf/g' @

Change-Id: I3db605f8bdb0a83b1f0f7f300a663c47563ba651
This commit is contained in:
Deepak Mewar
2023-02-25 06:38:47 -05:00
committed by Naveen Krishna Chatradhi
parent 6e6176b04a
commit 3fec3b4b4a
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ class Formatter:
print("{}{:25} :{}".format(space, self.style.background(key), str(value)))
def print_handle(self, handle):
bdf = smi_api.amdsmi_get_device_bdf(handle)
bdf = smi_api.amdsmi_get_gpu_device_bdf(handle)
print("{:25} :{}".format(self.style.background("BDF"), str(bdf)))
def print_usage(self):