[SWDEV-499029] Fix unable to change memory partition modes
Changes:
* [API] Removed checking board name, fixes for other MI ASICs
* [CLI] Increased progress bar to change memory partition modes
to 140 seconds, since driver reload is variable per system
Change-Id: Ifcaf40d28b4adf5eaa800c9e3748d33749dc414a
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
Этот коммит содержится в:
@@ -1867,7 +1867,7 @@ def setMemoryPartition(deviceList, memoryPartition, autoRespond):
|
||||
(', '.join(map(str, memory_partition_type_l))) ))
|
||||
return (None, None)
|
||||
|
||||
kTimeWait = 40
|
||||
kTimeWait = 140
|
||||
t1 = multiprocessing.Process(target=showProgressbar,
|
||||
args=("Updating memory partition",kTimeWait,))
|
||||
t1.start()
|
||||
@@ -3889,7 +3889,7 @@ def confirmChangingMemoryPartitionAndReloadingAMDGPU(autoRespond):
|
||||
******WARNING******\n
|
||||
Setting Dynamic Memory (NPS) partition modes require users to quit all GPU workloads.
|
||||
ROCm SMI will then attempt to change memory (NPS) partition mode.
|
||||
Upon a successful set, ROCm SMI will then initiate an action to restart amdgpu driver.
|
||||
Upon a successful set, ROCm SMI will then initiate an action to restart AMD GPU driver.
|
||||
This action will change all GPU's in the hive to the requested memory (NPS) partition mode.
|
||||
|
||||
Please use this utility with caution.
|
||||
|
||||
Ссылка в новой задаче
Block a user