]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add a check to avoid panic because of unexpected irqs
authorxinhui pan <xinhui.pan@amd.com>
Tue, 9 Apr 2019 08:53:08 +0000 (16:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:49:40 +0000 (13:49 -0500)
commitcb599d7c1aad7d2b5e8c77ed2dc3cb08cecbd2ee
treee61882b5aa782b35054015df82f4f9bc645825b6
parent2f6dcd5c09434510668671e3fd7582c6f335db7f
drm/amdgpu: Add a check to avoid panic because of unexpected irqs

IP initialize ras in late_init, because of the BUGs of PSP or any
other components, driver receives unexpected irqs. It is ok to add such
check anyway.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c