diff options
| author | Tony Luck <[email protected]> | 2024-12-06 16:31:45 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2024-12-10 15:15:14 +0000 |
| commit | 141cb5c482b38d7e494a207f881d0fe61e4848ef (patch) | |
| tree | de02ac416b75c36ba241c4d454a0769e0cd9f888 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | x86/resctrl: Compute memory bandwidth for all supported events (diff) | |
| download | kernel-141cb5c482b38d7e494a207f881d0fe61e4848ef.tar.gz kernel-141cb5c482b38d7e494a207f881d0fe61e4848ef.zip | |
x86/resctrl: Make mba_sc use total bandwidth if local is not supported
The default input measurement to the mba_sc feedback loop for memory bandwidth
control when the user mounts with the "mba_MBps" option is the local bandwidth
event. But some systems may not support a local bandwidth event.
When local bandwidth event is not supported, check for support of total
bandwidth and use that instead.
Relax the mount option check to allow use of the "mba_MBps" option for systems
when only total bandwidth monitoring is supported. Also update the error
message.
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
