drm/amdgpu: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 14 Mar 2022 11:53:53 +0000 (12:53 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 19:01:12 +0000 (15:01 -0400)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c

index fe660a8e150f807cb6be2821f7c4220aa138e655..970b065e9a6b13929ed6f29bf1fc28e413e8b756 100644 (file)
@@ -340,7 +340,7 @@ static void amdgpu_cs_get_threshold_for_moves(struct amdgpu_device *adev,
        if (free_vram >= 128 * 1024 * 1024 || free_vram >= total_vram / 8) {
                s64 min_us;
 
-               /* Be more aggresive on dGPUs. Try to fill a portion of free
+               /* Be more aggressive on dGPUs. Try to fill a portion of free
                 * VRAM now.
                 */
                if (!(adev->flags & AMD_IS_APU))
@@ -1280,7 +1280,7 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
                        continue;
 
                /*
-                * Work around dma_resv shortcommings by wrapping up the
+                * Work around dma_resv shortcomings by wrapping up the
                 * submission in a dma_fence_chain and add it as exclusive
                 * fence.
                 */