aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-02-21 20:20:45 +0000
committerAlex Deucher <[email protected]>2025-04-21 14:56:06 +0000
commit28fc3172e4204c8cdd8c70226ea02b0ae9930b69 (patch)
tree37238819d1e4fdf89cdc263758b95c334128bd38 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu/userq: add helpers to start/stop scheduling (diff)
downloadkernel-28fc3172e4204c8cdd8c70226ea02b0ae9930b69.tar.gz
kernel-28fc3172e4204c8cdd8c70226ea02b0ae9930b69.zip
drm/amdgpu: rename enforce isolation variables
Since they will be used for both KFD and KGD user queues, rename them from kfd to userq. No intended functional change. Acked-by: Sunil Khatri <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index e966aefc2b0f..b96e0613ea7e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -4368,7 +4368,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
amdgpu_sync_create(&adev->isolation[i].active);
amdgpu_sync_create(&adev->isolation[i].prev);
}
- mutex_init(&adev->gfx.kfd_sch_mutex);
+ mutex_init(&adev->gfx.userq_sch_mutex);
mutex_init(&adev->gfx.workload_profile_mutex);
mutex_init(&adev->vcn.workload_profile_mutex);
mutex_init(&adev->userq_mutex);