diff options
| author | Tao Zhou <[email protected]> | 2020-03-06 04:24:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-03-10 19:55:11 +0000 |
| commit | 204eaac625d57d32d8b4c42b57271a359b76db5a (patch) | |
| tree | ab9e10c3245eb213bd5880fc7c0e7cd5a2e75e9e /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | |
| parent | drm/amdgpu: add function to creat all ras debugfs node (diff) | |
| download | kernel-204eaac625d57d32d8b4c42b57271a359b76db5a.tar.gz kernel-204eaac625d57d32d8b4c42b57271a359b76db5a.zip | |
drm/amdgpu: call ras_debugfs_create_all in debugfs_init
and remove each ras IP's own debugfs creation
this is required to fix ras when the driver does not use the drm load
and unload callbacks due to ordering issues with the drm device node.
Signed-off-by: Tao Zhou <[email protected]>
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c index 7d5c3a9de9ea..6201a5f4b4fa 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c @@ -30,7 +30,6 @@ int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev) }; struct ras_fs_if fs_info = { .sysfs_name = "pcie_bif_err_count", - .debugfs_name = "pcie_bif_err_inject", }; if (!adev->nbio.ras_if) { |
