aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-04-16 21:27:41 +0000
committerAlex Deucher <[email protected]>2025-04-22 12:51:46 +0000
commit4fdbe3a623b264d0f361a81a41baff16b4aa6bb1 (patch)
treeb784560c69edfe168c6d39ad8e7086c88ae5ee50 /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h
parentdrm/amdgpu/userq: move waiting for last fence before umap (diff)
downloadkernel-4fdbe3a623b264d0f361a81a41baff16b4aa6bb1.tar.gz
kernel-4fdbe3a623b264d0f361a81a41baff16b4aa6bb1.zip
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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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);