]> Git Repo - linux.git/commitdiff
drm/amdgpu: Correct gfx ras_late_init callback
authorHawking Zhang <[email protected]>
Sat, 11 Mar 2023 09:30:43 +0000 (17:30 +0800)
committerAlex Deucher <[email protected]>
Mon, 13 Mar 2023 21:27:48 +0000 (17:27 -0400)
Use default gfx ras_late_init callback for gfx
ras block.

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]>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c

index 35ed46b9249c13ccc0a3b13758f76a70fa08da90..c50d59855011328d7d10030024fa486f6d9267cc 100644 (file)
@@ -725,7 +725,7 @@ int amdgpu_gfx_ras_sw_init(struct amdgpu_device *adev)
 
        /* If not define special ras_late_init function, use gfx default ras_late_init */
        if (!ras->ras_block.ras_late_init)
-               ras->ras_block.ras_late_init = amdgpu_ras_block_late_init;
+               ras->ras_block.ras_late_init = amdgpu_gfx_ras_late_init;
 
        /* If not defined special ras_cb function, use default ras_cb */
        if (!ras->ras_block.ras_cb)
This page took 0.054737 seconds and 4 git commands to generate.