aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2024-12-06 16:31:47 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-12-12 10:27:37 +0000
commit8e931105acae688ff0fc8f875a6c05e5aed8ab79 (patch)
tree3ed0e53b602ea0ec9280fb8e484630a8d61e8883 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentx86/resctrl: Add "mba_MBps_event" file to CTRL_MON directories (diff)
downloadkernel-8e931105acae688ff0fc8f875a6c05e5aed8ab79.tar.gz
kernel-8e931105acae688ff0fc8f875a6c05e5aed8ab79.zip
x86/resctrl: Add write option to "mba_MBps_event" file
The "mba_MBps" mount option provides an alternate method to control memory bandwidth. Instead of specifying allowable bandwidth as a percentage of maximum possible, the user provides a MiB/s limit value. There is a file in each CTRL_MON group directory that shows the event currently in use. Allow writing that file to choose a different event. A user can choose any of the memory bandwidth monitoring events listed in /sys/fs/resctrl/info/L3_mon/mon_features independently for each CTRL_MON group by writing to each of the "mba_MBps_event" files. 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