Skip to content

Commit 7d8e9e6

Browse files
committed
drm/amdgpu/gfx11: rename gfx_v11_0_gfx_init_queue()
Rename to gfx_v11_0_kgq_init_queue() to better align with the other naming in the file. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 072b441 commit 7d8e9e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3984,7 +3984,7 @@ static int gfx_v11_0_gfx_mqd_init(struct amdgpu_device *adev, void *m,
39843984
return 0;
39853985
}
39863986

3987-
static int gfx_v11_0_gfx_init_queue(struct amdgpu_ring *ring, bool reset)
3987+
static int gfx_v11_0_kgq_init_queue(struct amdgpu_ring *ring, bool reset)
39883988
{
39893989
struct amdgpu_device *adev = ring->adev;
39903990
struct v11_gfx_mqd *mqd = ring->mqd_ptr;
@@ -4026,7 +4026,7 @@ static int gfx_v11_0_cp_async_gfx_ring_resume(struct amdgpu_device *adev)
40264026

40274027
r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr);
40284028
if (!r) {
4029-
r = gfx_v11_0_gfx_init_queue(ring, false);
4029+
r = gfx_v11_0_kgq_init_queue(ring, false);
40304030
amdgpu_bo_kunmap(ring->mqd_obj);
40314031
ring->mqd_ptr = NULL;
40324032
}
@@ -6560,7 +6560,7 @@ static int gfx_v11_0_reset_kgq(struct amdgpu_ring *ring, unsigned int vmid)
65606560
}
65616561
r = amdgpu_bo_kmap(ring->mqd_obj, (void **)&ring->mqd_ptr);
65626562
if (!r) {
6563-
r = gfx_v11_0_gfx_init_queue(ring, true);
6563+
r = gfx_v11_0_kgq_init_queue(ring, true);
65646564
amdgpu_bo_kunmap(ring->mqd_obj);
65656565
ring->mqd_ptr = NULL;
65666566
}

0 commit comments

Comments
 (0)