Skip to content

Commit 9248462

Browse files
Hawking Zhangalexdeucher
authored andcommitted
drm/amdgpu: Enable software RAS in vcn v4_0_3
Set VCN/JPEG RAS masks to enable software RAS for VCN and JPEG. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 472c5fb commit 9248462

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2622,7 +2622,9 @@ static void amdgpu_ras_check_supported(struct amdgpu_device *adev)
26222622
if (amdgpu_ip_version(adev, VCN_HWIP, 0) ==
26232623
IP_VERSION(2, 6, 0) ||
26242624
amdgpu_ip_version(adev, VCN_HWIP, 0) ==
2625-
IP_VERSION(4, 0, 0))
2625+
IP_VERSION(4, 0, 0) ||
2626+
amdgpu_ip_version(adev, VCN_HWIP, 0) ==
2627+
IP_VERSION(4, 0, 3))
26262628
adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__VCN |
26272629
1 << AMDGPU_RAS_BLOCK__JPEG);
26282630
else

0 commit comments

Comments
 (0)