OSDN Git Service

drm/amdgpu: skip RAS error injection in SRIOV
authorTao Zhou <tao.zhou1@amd.com>
Thu, 8 Dec 2022 03:51:47 +0000 (11:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Dec 2022 17:18:19 +0000 (12:18 -0500)
commit248c9635b8bd9d0c1649031da531d80e850fbdbe
treed05ad601e566e137273dd9af1558a2d8d0bb6862
parent6a822b7acefa80e3b11f3d547f2380f1a4808aba
drm/amdgpu: skip RAS error injection in SRIOV

Injection on guest is not allowed.

v2: return directly in SRIOV environment.

Signed-off-by: Tao Zhou <tao.zhou1@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