]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix RAS unload driver issue in SRIOV
authorYang Wang <kevinyang.wang@amd.com>
Tue, 7 May 2024 02:28:04 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 May 2024 19:17:05 +0000 (15:17 -0400)
commit329cec8f18fc8bed7570b68b18936724af2f5593
treef97ba4e051aea1d57851f40678357e999890119a
parent85a24a3ea09e93c05ff59609fde6c3d825a014c2
drm/amdgpu: fix RAS unload driver issue in SRIOV

Fix null pointer issue when unload driver in SRIOV mode.

Adjust the function position to ensure that the amdgpu_mca/aca_xxx_init()
related functions can be initialized properly.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c