aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-04-16 21:49:45 +0000
committerAlex Deucher <[email protected]>2025-04-22 12:51:46 +0000
commit42a66677805d03df9e2600fab82d0cbe855500e1 (patch)
treeb4e2cbb64cf9a46070fe0bb582b42789f13cd82d /drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
parentdrm/amdgpu/userq: rename eviction helpers (diff)
downloadkernel-42a66677805d03df9e2600fab82d0cbe855500e1.tar.gz
kernel-42a66677805d03df9e2600fab82d0cbe855500e1.zip
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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
index ca198360cfda..be068e8e37d1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
@@ -292,7 +292,7 @@ static int amdgpu_userq_fence_create(struct amdgpu_usermode_queue *userq,
static const char *amdgpu_userq_fence_get_driver_name(struct dma_fence *f)
{
- return "amdgpu_userqueue_fence";
+ return "amdgpu_userq_fence";
}
static const char *amdgpu_userq_fence_get_timeline_name(struct dma_fence *f)
@@ -513,7 +513,7 @@ int amdgpu_userq_signal_ioctl(struct drm_device *dev, void *data,
goto put_gobj_write;
/* We are here means UQ is active, make sure the eviction fence is valid */
- amdgpu_userqueue_ensure_ev_fence(&fpriv->userq_mgr, &fpriv->evf_mgr);
+ amdgpu_userq_ensure_ev_fence(&fpriv->userq_mgr, &fpriv->evf_mgr);
/* Create a new fence */
r = amdgpu_userq_fence_create(queue, userq_fence, wptr, &fence);