From 678cae0696296de3408e1d853d3d96e0b41c4fb6 Mon Sep 17 00:00:00 2001
From: Kent Russell <kent.russell@amd.com>
Date: Tue, 28 Jun 2022 10:40:59 -0400
Subject: drm/amdgpu: Fix typos in amdgpu_stop_pending_resets
Git-commit: d193b12b2fa6dc316e3ee8871b4ec05992bcb7b1
Patch-mainline: v6.0-rc1
References: jsc#PED-1166 jsc#PED-1168 jsc#PED-1170 jsc#PED-1218 jsc#PED-1220 jsc#PED-1222 jsc#PED-1223 jsc#PED-1225 jsc#PED-2849
Change amdggpu to amdgpu and pedning to pending
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Patrik Jakobsson <pjakobsson@suse.de>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 0a1c47ccd1ea..41f68b3427f2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -5076,7 +5076,7 @@ static void amdgpu_device_recheck_guilty_jobs(
}
}
-static inline void amdggpu_device_stop_pedning_resets(struct amdgpu_device *adev)
+static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev)
{
struct amdgpu_ras *con = amdgpu_ras_get_context(adev);
@@ -5257,7 +5257,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
* Drop all pending non scheduler resets. Scheduler resets
* were already dropped during drm_sched_stop
*/
- amdggpu_device_stop_pedning_resets(tmp_adev);
+ amdgpu_device_stop_pending_resets(tmp_adev);
}
tmp_vram_lost_counter = atomic_read(&((adev)->vram_lost_counter));
--
2.38.1