drm/amdgpu: add amdgpu_error_* debugfs file
authorChristian König <christian.koenig@amd.com>
Wed, 19 Apr 2023 10:51:41 +0000 (12:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:37:54 +0000 (11:37 -0400)
commitb13eb02ba8ba7617d41212121891756da31f1d8b
treee68abdafcc425f0eaefe9e3ff85de0ad478426fa
parent2eb841bdbca819017e7483cdfbb3d401751848a5
drm/amdgpu: add amdgpu_error_* debugfs file

This allows us to insert some error codes into the bottom of the pipeline
on an engine.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h