diff options
| author | Mangesh Gadre <[email protected]> | 2025-05-13 05:20:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-22 16:02:55 +0000 |
| commit | b758667f55a09bc86ac0cb230c4e0e5ca931a3a5 (patch) | |
| tree | 1722f874902258a1ca0c37099786fdc5fbb69aac /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: Enable RAS for jpeg 5.0.1 (diff) | |
| download | kernel-b758667f55a09bc86ac0cb230c4e0e5ca931a3a5.tar.gz kernel-b758667f55a09bc86ac0cb230c4e0e5ca931a3a5.zip | |
drm/amdgpu: update ras support check
update ras support check for vcn 5.0.1
Signed-off-by: Mangesh Gadre <[email protected]>
Reviewed-by: Stanley.Yang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index dc07936d2fcb..8a13a0c7b9cd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -3708,7 +3708,8 @@ static void amdgpu_ras_query_ras_capablity_from_vbios(struct amdgpu_device *adev */ if (amdgpu_ip_version(adev, VCN_HWIP, 0) == IP_VERSION(2, 6, 0) || amdgpu_ip_version(adev, VCN_HWIP, 0) == IP_VERSION(4, 0, 0) || - amdgpu_ip_version(adev, VCN_HWIP, 0) == IP_VERSION(4, 0, 3)) + amdgpu_ip_version(adev, VCN_HWIP, 0) == IP_VERSION(4, 0, 3) || + amdgpu_ip_version(adev, VCN_HWIP, 0) == IP_VERSION(5, 0, 1)) adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__VCN | 1 << AMDGPU_RAS_BLOCK__JPEG); else |
