diff options
author | 2021-04-28 21:07:41 +0800 | |
---|---|---|
committer | 2021-05-10 18:06:43 -0400 | |
commit | b11625f56f09f125c2e608893bfceb84e92e52f9 (patch) | |
tree | 79b1f0e11a478b8c004125c7e326ec9e32d5be2d /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h | |
parent | drm/amdgpu: add hdp ras structures (diff) | |
download | linux-rng-b11625f56f09f125c2e608893bfceb84e92e52f9.tar.xz linux-rng-b11625f56f09f125c2e608893bfceb84e92e52f9.zip |
drm/amdgpu: add helpers for hdp ras init/fini
hdp ras init/fini are common functions that
can be shared among hdp generations
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h index c89cf8d90282..ba6f272cfa21 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h @@ -47,4 +47,6 @@ struct amdgpu_hdp { const struct amdgpu_hdp_ras_funcs *ras_funcs; }; +int amdgpu_hdp_ras_late_init(struct amdgpu_device *adev); +void amdgpu_hdp_ras_fini(struct amdgpu_device *adev); #endif /* __AMDGPU_HDP_H__ */ |