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:43 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-12-10 10:15:19 +0000
commit481d363748b2df881df21569f3697b3c7fcf8fc1 (patch)
treebf13704f408b47e82845e7cf2941c62eab4c4d56 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentx86/resctrl: Prepare for per-CTRL_MON group mba_MBps control (diff)
downloadkernel-481d363748b2df881df21569f3697b3c7fcf8fc1.tar.gz
kernel-481d363748b2df881df21569f3697b3c7fcf8fc1.zip
x86/resctrl: Modify update_mba_bw() to use per CTRL_MON group event
update_mba_bw() hard codes use of the memory bandwidth local event which prevents more flexible options from being deployed. Change this function to use the event specified in the rdtgroup that is being processed. Mount time checks for the "mba_MBps" option ensure that local memory bandwidth is enabled. So drop the redundant is_mbm_local_enabled() check. 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