diff options
author | 2023-03-04 16:39:48 +0800 | |
---|---|---|
committer | 2023-03-13 17:27:48 -0400 | |
commit | fec70a8601a76272b08b7b8077b3c3e3c79bdb72 (patch) | |
tree | 47857ecb529b70c8b23b407dcdea52a21a86931f /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | |
parent | drm/amdgpu: Correct gfx ras_late_init callback (diff) | |
download | linux-rng-fec70a8601a76272b08b7b8077b3c3e3c79bdb72.tar.xz linux-rng-fec70a8601a76272b08b7b8077b3c3e3c79bdb72.zip |
drm/amdgpu: Move mmhub ras block init to ras sw_init
Initialize mmhub 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 <Hawking.Zhang@amd.com>
Reviewed-by: Stanley Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h index 93430d3823c9..d21bb6dae56e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h @@ -48,5 +48,7 @@ struct amdgpu_mmhub { struct amdgpu_mmhub_ras *ras; }; +int amdgpu_mmhub_ras_sw_init(struct amdgpu_device *adev); + #endif |