]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Fix typos in amdgpu_stop_pending_resets
authorKent Russell <kent.russell@amd.com>
Tue, 28 Jun 2022 14:40:59 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jun 2022 21:10:21 +0000 (17:10 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 0a1c47ccd1ea72c1e0cf1cefd8b80c70aab1c592..41f68b3427f24a000923d77ec5f8359edc0baf4d 100644 (file)
@@ -5076,7 +5076,7 @@ retry:
        }
 }
 
-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 @@ retry:    /* Rest of adevs pre asic reset from XGMI hive. */
                 * 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));