summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-02-18 16:17:41 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-02-23 14:02:50 -0500
commite460f244fbe847904abd767e4ae093bad699f218 (patch)
treefc2c65a7f07cb48e6459af2d5745575717ff2601 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent091cd9c3abeb68981552557676985eec761d6fe5 (diff)
downloadlinux-e460f244fbe847904abd767e4ae093bad699f218.tar.bz2
drm/amdgpu: plumb error handling though amdgpu_benchmark()
So we can tell when this function fails. v2: squash in error handling fix (Alex) 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.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 566303c9942f..66d556fc17ef 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -586,7 +586,7 @@ void amdgpu_device_wb_free(struct amdgpu_device *adev, u32 wb);
/*
* Benchmarking
*/
-void amdgpu_benchmark(struct amdgpu_device *adev, int test_number);
+int amdgpu_benchmark(struct amdgpu_device *adev, int test_number);
/*