summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-04-16 17:27:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-04-22 08:51:46 -0400
commit4fdbe3a623b264d0f361a81a41baff16b4aa6bb1 (patch)
treeb784560c69edfe168c6d39ad8e7086c88ae5ee50 /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
parentd13e95967ebfde85d244ea626c8b14a12bca14ac (diff)
drm/amdgpu/userq: rename eviction helpers
suspend/resume -> evict/restore Rename to avoid confusion with the system suspend and resume helpers. v2: update error messages Reviewed-by: Prike Liang <Prike.Liang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
index 8f392a0947a2..a9f0e46bcec0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
@@ -108,8 +108,8 @@ int amdgpu_userqueue_create_object(struct amdgpu_userq_mgr *uq_mgr,
void amdgpu_userqueue_destroy_object(struct amdgpu_userq_mgr *uq_mgr,
struct amdgpu_userq_obj *userq_obj);
-void amdgpu_userqueue_suspend(struct amdgpu_userq_mgr *uq_mgr,
- struct amdgpu_eviction_fence *ev_fence);
+void amdgpu_userqueue_evict(struct amdgpu_userq_mgr *uq_mgr,
+ struct amdgpu_eviction_fence *ev_fence);
int amdgpu_userqueue_active(struct amdgpu_userq_mgr *uq_mgr);