]> Git Repo - linux.git/commit
drm/amdgpu: add amdgpu_gfx_sched_mask and amdgpu_compute_sched_mask debugfs
authorJesse Zhang <[email protected]>
Tue, 29 Oct 2024 02:11:05 +0000 (10:11 +0800)
committerAlex Deucher <[email protected]>
Mon, 4 Nov 2024 17:05:53 +0000 (12:05 -0500)
commitc5c63d9cb5d3bbb2fc5973757616b17629795829
tree561105dd88034d40abe061363ee55fb45bfd5021
parentb78612939de33ffd247f3d39eaca7fb2648801ba
drm/amdgpu: add amdgpu_gfx_sched_mask and amdgpu_compute_sched_mask debugfs

compute/gfx may have multiple rings on some hardware.
In some cases, userspace wants to run jobs on a specific ring for validation 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 gfx/compute ip.

Signed-off-by: Jesse Zhang <[email protected]>
Suggested-by: Alex Deucher <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
This page took 0.068085 seconds and 4 git commands to generate.