drm/amdgpu: plumb error handling though amdgpu_benchmark()
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Feb 2022 21:17:41 +0000 (16:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:02:50 +0000 (14:02 -0500)
commite460f244fbe847904abd767e4ae093bad699f218
treefc2c65a7f07cb48e6459af2d5745575717ff2601
parent091cd9c3abeb68981552557676985eec761d6fe5
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c