summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYo-Jung Leo Lin (AMD) <Leo.Lin@amd.com>2025-12-12 15:59:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-01-05 16:59:58 -0500
commit19ba61ac06d2a4f1e58f92879b54a998ab23b4b1 (patch)
tree07ab46ffac4229d7b68b1bfd01b424ed9f26c4f7 /tools/perf/scripts/python
parent379a3160633a469da240f40948464f20582c11e9 (diff)
downloadlinux-19ba61ac06d2a4f1e58f92879b54a998ab23b4b1.tar.gz
linux-19ba61ac06d2a4f1e58f92879b54a998ab23b4b1.zip
drm/amdgpu: add UMA allocation interfaces to sysfs
Add a uma/ directory containing two sysfs files as interfaces to inspect or change UMA carveout size. These files are: - uma/carveout_options: a read-only file listing all the available UMA allocation options and their index. - uma/carveout: a file that is both readable and writable. On read, it shows the index of the current setting. Writing a valid index into this file allows users to change the UMA carveout size to that option on the next boot. Co-developed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Yo-Jung Leo Lin (AMD) <Leo.Lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions