We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a11a65 commit 07615daCopy full SHA for 07615da
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -2348,7 +2348,8 @@ static void amdgpu_ras_check_supported(struct amdgpu_device *adev)
2348
adev->ras_hw_enabled |= ~(1 << AMDGPU_RAS_BLOCK__UMC |
2349
1 << AMDGPU_RAS_BLOCK__DF);
2350
2351
- if (adev->ip_versions[VCN_HWIP][0] == IP_VERSION(2, 6, 0))
+ if (adev->ip_versions[VCN_HWIP][0] == IP_VERSION(2, 6, 0) ||
2352
+ adev->ip_versions[VCN_HWIP][0] == IP_VERSION(4, 0, 0))
2353
adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__VCN |
2354
1 << AMDGPU_RAS_BLOCK__JPEG);
2355
else
0 commit comments