Skip to contentSkip to conversation

drm/amdgpu: remove unused sync testing

PATCH New Alex Deucher 1 participant 1 message Mar 3, 2017

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

PATCH 1/1 drm/amdgpu: remove unused sync testing

From: Christian König <[email protected]>

Not used in a while.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h        |  4 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  6 ---
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c   | 79 ------------------------------
 3 files changed, 89 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -4
index 010688a..5981f39 100644
@@ -1161,10 +1161,6 @@ void amdgpu_benchmark(struct amdgpu_device *adev, int test_number);
  * Testing
  */
 void amdgpu_test_moves(struct amdgpu_device *adev);
-void amdgpu_test_ring_sync(struct amdgpu_device *adev,
-			   struct amdgpu_ring *cpA,
-			   struct amdgpu_ring *cpB);
-void amdgpu_test_syncing(struct amdgpu_device *adev);
 
 /*
  * MMU Notifier
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -6
index 0f7d7cb..d60cfe1 100644
@@ -2044,12 +2044,6 @@ int amdgpu_device_init(struct amdgpu_device *adev,
 		else
 			DRM_INFO("amdgpu: acceleration disabled, skipping move tests\n");
 	}
-	if ((amdgpu_testing & 2)) {
-		if (adev->accel_working)
-			amdgpu_test_syncing(adev);
-		else
-			DRM_INFO("amdgpu: acceleration disabled, skipping sync tests\n");
-	}
 	if (amdgpu_benchmarking) {
 		if (adev->accel_working)
 			amdgpu_benchmark(adev, amdgpu_benchmarking);
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c +0 -79

82 lines not on this page · raw message

Signature · 6 lines
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx