drm/amdgpu: fix ras supported check
authorStanley.Yang <Stanley.Yang@amd.com>
Tue, 31 May 2022 10:57:06 +0000 (18:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2022 19:58:09 +0000 (15:58 -0400)
commit28caf8c467e2cb98b90a760b65767fa9aaf52ffb
tree011bddaa0c1d671a19be0c308db8e37d7306bbaa
parentfd843d03418ead2bba369159bb19b60e9d4b7b1e
drm/amdgpu: fix ras supported check

Fix aldebaran ras supported check on SRIOV guest side,
the previous check conditicon block all ras feature
on baremetal

Signed-off-by: Stanley.Yang <Stanley.Yang@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