diff options
| author | Hawking Zhang <[email protected]> | 2023-03-11 09:36:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-13 21:27:48 +0000 |
| commit | a6dcf9a7ccfed57abd44c24cc505b559281d44b9 (patch) | |
| tree | 9978ea4f53dc0a3079c1aa78a858d25b4caf7fb8 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
| parent | drm/amdgpu: Move vcn ras block init to ras sw_init (diff) | |
| download | kernel-a6dcf9a7ccfed57abd44c24cc505b559281d44b9.tar.gz kernel-a6dcf9a7ccfed57abd44c24cc505b559281d44b9.zip | |
drm/amdgpu: Move umc ras block init to gmc ras sw_init
Initialize umc ras block only when umc ip block
supports ras. 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_umc.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h index 36e19336f3b3..d7f1229ff11f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h @@ -87,6 +87,7 @@ struct amdgpu_umc { unsigned long active_mask; }; +int amdgpu_umc_ras_sw_init(struct amdgpu_device *adev); int amdgpu_umc_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block); int amdgpu_umc_poison_handler(struct amdgpu_device *adev, bool reset); int amdgpu_umc_process_ecc_irq(struct amdgpu_device *adev, |
