]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add amdgpu_sdma_sched_mask debugfs
authorJesse Zhang <jesse.zhang@amd.com>
Tue, 29 Oct 2024 02:14:35 +0000 (10:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 17:06:15 +0000 (12:06 -0500)
commitd2e3961ae37171811a3d442e601599b85711adcb
tree5e468c133e70d7d43abec6c26248f80a045c0e0a
parentc5c63d9cb5d3bbb2fc5973757616b17629795829
drm/amdgpu: add amdgpu_sdma_sched_mask debugfs

Userspace wants to run jobs on a specific sdma ring for verification purposes.
This debugfs entry helps to disable or enable submitting jobs to a specific ring.
This entry is populated only if there are at least two or more cores in the sdma ip.

Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h