drm/amdgpu: expose benchmarks via debugfs
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Feb 2022 21:41:27 +0000 (16:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:02:50 +0000 (14:02 -0500)
commite7c4723103dc58c3d86fc7bc4e03c2ab500ef8b5
treecdb1d7ab2d6ea9fa8e219942e77c523c8be912bc
parenta0c5fd46b2510cb054bd4e1fa6c2f207424c97e5
drm/amdgpu: expose benchmarks via debugfs

They provide a nice smoke test of transfer performance
using SDMA.  Allow the user to run these at runtime
rather than only at init time.

v2: fix permissions (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_debugfs.c