Alex Deucher
482d485332
drm/amdgpu/userq: take the userq_mgr lock in enforce isolation
...
Add the missing locking.
Fixes: 94976e7e5e ("drm/amdgpu/userq: add helpers to start/stop scheduling")
Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com >
Reviewed-by: Prike Liang <Prike.Liang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-04-30 18:09:26 -04:00
Alex Deucher
c5e02d6588
drm/amdgpu/userq: take the userq_mgr lock in suspend/resume
...
Add the missing locking.
Fixes: 73e12e98ec ("drm/amdgpu/userq: add suspend and resume helpers")
Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com >
Reviewed-by: Prike Liang <Prike.Liang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-04-30 18:08:24 -04:00
Arvind Yadav
56801cb83c
drm/amdgpu: remove DRM_AMDGPU_NAVI3X_USERQ config for UQ
...
DRM_AMDGPU_NAVI3X_USERQ config support is not required for
usermode queue.
v2: rebase.
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com >
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Arvind Yadav <Arvind.Yadav@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-04-30 18:06:00 -04:00
Sunil Khatri
127e612bf1
drm/amdgpu: update fence ptr with context:seqno
...
log context:seqno of the fence during timeout rather
than logging fence pointer.
Reviewed-by: Arvind Yadav <Arvind.Yadav@amd.com >
Cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com >
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-04-22 08:51:46 -04:00
Alex Deucher
42a6667780
drm/amdgpu/userq: use consistent function naming
...
s/userqueue/userq/
1. remove the mix of amdgpu_userqueue and amdgpu_userq
2. to be consistent with other amdgpu_userq_fence.c
3. it's shorter
Reviewed-by: Prike Liang <Prike.Liang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-04-22 08:51:46 -04:00