aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2019-09-18 09:30:50 +0000
committerAlex Deucher <[email protected]>2019-10-03 14:11:02 +0000
commitde9bbd5273c8caa0361876e4171de2ad36a6b9df (patch)
tree83ddd67b89f00716d25aec090397bf901158b644 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentdrm/amdgpu: simplify the access to eeprom_control struct (diff)
downloadkernel-de9bbd5273c8caa0361876e4171de2ad36a6b9df.tar.gz
kernel-de9bbd5273c8caa0361876e4171de2ad36a6b9df.zip
drm/amdgpu: add ras fini for nbio
add a common nbio ras fini implementation to cleanup nbio ras framework Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Guchun Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index b14fc157155a..e9ebf46fca3a 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1248,6 +1248,7 @@ static int soc15_common_sw_fini(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+ amdgpu_nbio_ras_fini(adev);
adev->df_funcs->sw_fini(adev);
return 0;
}