diff options
| author | Hawking Zhang <[email protected]> | 2023-03-04 09:24:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-13 21:27:48 +0000 |
| commit | 474e2d491efe8ce516e743dbce6a6e75bac3b3db (patch) | |
| tree | 96a491d03ea18a77f57e44282df47274efddef1f /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h | |
| parent | drm/amdgpu: Move mmhub ras block init to ras sw_init (diff) | |
| download | kernel-474e2d491efe8ce516e743dbce6a6e75bac3b3db.tar.gz kernel-474e2d491efe8ce516e743dbce6a6e75bac3b3db.zip | |
drm/amdgpu: Move hdp ras block init to ras sw_init
Initialize hdp ras block only when mmhub ip block
supports ras features. Driver queries ras capabilities
after early_init, ras block init needs to be moved to
sw_init.
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Stanley Yang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h index ac5c61d3de2b..7b8a6152dc8d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h @@ -43,5 +43,5 @@ struct amdgpu_hdp { struct amdgpu_hdp_ras *ras; }; -int amdgpu_hdp_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block); +int amdgpu_hdp_ras_sw_init(struct amdgpu_device *adev); #endif /* __AMDGPU_HDP_H__ */ |
