drm/amdgpu: fix typos
Subsystems (3)
PATCH 1/1 drm/amdgpu: fix typos
Fix typos in comments: "wether -> whether".
Signed-off-by Andrew Kreimer <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +2 -2
@@ -6374,7 +6374,7 @@ static int gfx_v10_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, mmCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &
@@ -6412,7 +6412,7 @@ static int gfx_v10_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32_SOC15 (GC ,0 , mmCP_RB1_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB1_WPTR_HI,upper_32_bits (ring->wptr)); -/* Set the wb address wether it's enabled or not */ +/* Set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB1_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, mmCP_RB1_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +2 -2
@@ -3557,7 +3557,7 @@ static int gfx_v11_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &
@@ -3595,7 +3595,7 @@ static int gfx_v11_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32_SOC15 (GC ,0 , regCP_RB1_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB1_WPTR_HI,upper_32_bits (ring->wptr)); -/* Set the wb address wether it's enabled or not */ +/* Set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB1_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB1_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +1 -1
@@ -2601,7 +2601,7 @@ static int gfx_v12_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +2 -2
@@ -2559,7 +2559,7 @@ static int gfx_v7_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32 (mmCP_RB0_WPTR,lower_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32 (mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32 (mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &0xFF );
@@ -2876,7 +2876,7 @@ static void gfx_v7_0_mqd_init(struct amdgpu_device *adev, mqd->cp_hqd_pq_wptr_poll_addr_lo = wb_gpu_addr &0xfffffffc ; mqd->cp_hqd_pq_wptr_poll_addr_hi =upper_32_bits (wb_gpu_addr) &0xffff ; -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ wb_gpu_addr = ring->rptr_gpu_addr; mqd->cp_hqd_pq_rptr_report_addr_lo = wb_gpu_addr &0xfffffffc ; mqd->cp_hqd_pq_rptr_report_addr_hi =
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -1
@@ -4260,7 +4260,7 @@ static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32 (mmCP_RB0_WPTR,lower_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32 (mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32 (mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &0xFF );
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -1
@@ -3357,7 +3357,7 @@ static int gfx_v9_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &CP_RB_RPTR_ADDR_HI__RB_RPTR_ADDR_HI_MASK );
Signature · 1 line
2.39.5
Alex Deucher
AppliedApplied. Thanks!
Quoted 121 lines · Andrew Kreimer
Fix typos in comments: "wether -> whether".
Signed-off-by Andrew Kreimer <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +2
-2@@ -6374,7 +6374,7 @@ static int gfx_v10_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, mmCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &@@ -6412,7 +6412,7 @@ static int gfx_v10_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32_SOC15 (GC ,0 , mmCP_RB1_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB1_WPTR_HI,upper_32_bits (ring->wptr)); -/* Set the wb address wether it's enabled or not */ +/* Set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB1_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, mmCP_RB1_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +2
-2@@ -3557,7 +3557,7 @@ static int gfx_v11_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &@@ -3595,7 +3595,7 @@ static int gfx_v11_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32_SOC15 (GC ,0 , regCP_RB1_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB1_WPTR_HI,upper_32_bits (ring->wptr)); -/* Set the wb address wether it's enabled or not */ +/* Set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB1_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB1_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +1
-1@@ -2601,7 +2601,7 @@ static int gfx_v12_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , regCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , regCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr)); WREG32_SOC15(GC, 0, regCP_RB0_RPTR_ADDR_HI, upper_32_bits(rptr_addr) &drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +2
-2@@ -2559,7 +2559,7 @@ static int gfx_v7_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32 (mmCP_RB0_WPTR,lower_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32 (mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32 (mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &0xFF );@@ -2876,7 +2876,7 @@ static void gfx_v7_0_mqd_init(struct amdgpu_device *adev, mqd->cp_hqd_pq_wptr_poll_addr_lo = wb_gpu_addr &0xfffffffc ; mqd->cp_hqd_pq_wptr_poll_addr_hi =upper_32_bits (wb_gpu_addr) &0xffff ; -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ wb_gpu_addr = ring->rptr_gpu_addr; mqd->cp_hqd_pq_rptr_report_addr_lo = wb_gpu_addr &0xfffffffc ; mqd->cp_hqd_pq_rptr_report_addr_hi =drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1
-1@@ -4260,7 +4260,7 @@ static int gfx_v8_0_cp_gfx_resume(struct amdgpu_device *adev) ring->wptr =0 ;WREG32 (mmCP_RB0_WPTR,lower_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32 (mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32 (mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &0xFF );drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1
-2@@ -3357,7 +3357,7 @@ static int gfx_v9_0_cp_gfx_resume(struct amdgpu_device *adev)WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR,lower_32_bits (ring->wptr));WREG32_SOC15 (GC ,0 , mmCP_RB0_WPTR_HI,upper_32_bits (ring->wptr)); -/* set the wb address wether it's enabled or not */ +/* set the wb address whether it's enabled or not */ rptr_addr = ring->rptr_gpu_addr;WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR,lower_32_bits (rptr_addr));WREG32_SOC15 (GC ,0 , mmCP_RB0_RPTR_ADDR_HI,upper_32_bits (rptr_addr) &CP_RB_RPTR_ADDR_HI__RB_RPTR_ADDR_HI_MASK ); --2.39.5