Skip to contentSkip to conversation

drm/amdgpu/gfx: delete stray tabs

PATCH Applied Dan Carpenter 3 participants 3 messages Mar 10, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/gfx: delete stray tabs

These lines are indented one tab too far. Delete the extra tabs.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +2 -2
index a194bf3347cb..984e6ff6e463 100644
@@ -2002,8 +2002,8 @@ void amdgpu_gfx_enforce_isolation_handler(struct work_struct *work)
 		if (adev->kfd.init_complete) {
 			WARN_ON_ONCE(!adev->gfx.kfd_sch_inactive[idx]);
 			WARN_ON_ONCE(adev->gfx.kfd_sch_req_count[idx]);
-				amdgpu_amdkfd_start_sched(adev, idx);
-				adev->gfx.kfd_sch_inactive[idx] = false;
+			amdgpu_amdkfd_start_sched(adev, idx);
+			adev->gfx.kfd_sch_inactive[idx] = false;
 		}
 	}
 	mutex_unlock(&adev->enforce_isolation_mutex);
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Dan Carpenter

These lines are indented one tab too far. Delete the extra tabs.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +0 -0
index a194bf3347cb..984e6ff6e463 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c void amdgpu_gfx_enforce_isolation_handler(struct work_struct *work) · line 2009

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +2 -2
@@ -2002,8 +2002,8 @@ void amdgpu_gfx_enforce_isolation_handler(struct work_struct *work)
  		if (adev->kfd.init_complete) {
  			WARN_ON_ONCE(!adev->gfx.kfd_sch_inactive[idx]);
  			WARN_ON_ONCE(adev->gfx.kfd_sch_req_count[idx]);
-				amdgpu_amdkfd_start_sched(adev, idx);
-				adev->gfx.kfd_sch_inactive[idx] = false;
+			amdgpu_amdkfd_start_sched(adev, idx);
+			adev->gfx.kfd_sch_inactive[idx] = false;
  		}
  	}
  	mutex_unlock(&adev->enforce_isolation_mutex);

Thanks!

Applied
#2 lore raw

Applied. Thanks!

Quoted 30 lines · SRINIVASAN SHANMUGAM

On 3/10/2025 4:17 PM, Dan Carpenter wrote:

These lines are indented one tab too far. Delete the extra tabs.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +2 -2
index a194bf3347cb..984e6ff6e463 100644
@@ -2002,8 +2002,8 @@ void amdgpu_gfx_enforce_isolation_handler(struct work_struct *work)
  if (adev->kfd.init_complete) {
  WARN_ON_ONCE(!adev->gfx.kfd_sch_inactive[idx]);
  WARN_ON_ONCE(adev->gfx.kfd_sch_req_count[idx]);
- amdgpu_amdkfd_start_sched(adev, idx);
- adev->gfx.kfd_sch_inactive[idx] = false;
+ amdgpu_amdkfd_start_sched(adev, idx);
+ adev->gfx.kfd_sch_inactive[idx] = false;
  }
  }
  mutex_unlock(&adev->enforce_isolation_mutex);

Thanks!