summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-02-18 16:45:23 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-02-23 14:02:51 -0500
commit0b1a63487b0fe45750528f89ea688eda2862dfa6 (patch)
tree1aceab566420fe7ee3a35872faead4580645e824 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parente7c4723103dc58c3d86fc7bc4e03c2ab500ef8b5 (diff)
downloadlinux-0b1a63487b0fe45750528f89ea688eda2862dfa6.tar.bz2
drm/amdgpu: drop benchmark module parameter
Now that we expose the benchmarks via debugfs, there is no longer a need for the module parameter. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index a5887754cb73..bf7e648fd421 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -3809,12 +3809,6 @@ fence_driver_init:
else
DRM_INFO("amdgpu: acceleration disabled, skipping move tests\n");
}
- if (amdgpu_benchmarking) {
- if (adev->accel_working)
- amdgpu_benchmark(adev, amdgpu_benchmarking);
- else
- DRM_INFO("amdgpu: acceleration disabled, skipping benchmarks\n");
- }
/*
* Register gpu instance before amdgpu_device_enable_mgpu_fan_boost.