[PATCH] drm/amdgpu: Fix typos in amdgpu_stop_pending_resets

Alex Deucher alexdeucher at gmail.com
Tue Jun 28 14:43:38 UTC 2022


On Tue, Jun 28, 2022 at 10:42 AM Kent Russell <kent.russell at amd.com> wrote:
>
> Change amdggpu to amdgpu and pedning to pending
>
> Signed-off-by: Kent Russell <kent.russell at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  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 a2c268d48edd..39a875494edb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -5075,7 +5075,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);
>
> @@ -5256,7 +5256,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.25.1
>


More information about the amd-gfx mailing list