aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
diff options
context:
space:
mode:
authorYiPeng Chai <[email protected]>2022-09-08 01:48:11 +0000
committerAlex Deucher <[email protected]>2022-09-29 13:41:42 +0000
commit642c0401135d9877d6888fdd2b0fbbee3b134409 (patch)
treec9b96e54d99ba8a51f0c7c178836b7e1f95a0484 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
parentdrm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (diff)
downloadkernel-642c0401135d9877d6888fdd2b0fbbee3b134409.tar.gz
kernel-642c0401135d9877d6888fdd2b0fbbee3b134409.zip
drm/amdgpu: Fixed ras warning when uninstalling amdgpu
For the asic using smu v13_0_2, there is the following warning when uninstalling amdgpu: amdgpu: ras disable gfx failed poison:1 ret:-22. [Why]: For the asic using smu v13_0_2, the psp .suspend and mode1reset is called before amdgpu_ras_pre_fini during amdgpu uninstall, it has disabled all ras features and reset the psp. Since the psp is reset, calling amdgpu_ras_disable_all_features in amdgpu_ras_pre_fini to disable ras features will fail. [How]: If all ras features are disabled, amdgpu_ras_disable_all_features will not be called to disable all ras features again. Signed-off-by: YiPeng Chai <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
0 files changed, 0 insertions, 0 deletions