]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97f1bcd1ed9f5a0bce60bcc1f14df36895de46bc
treecdb1d7ab2d6ea9fa8e219942e77c523c8be912bc
parent09d0933965318e729603e462ee1d125ab779c9a5
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