AMDGPU_RAS_BLOCK__VCN
adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__VCN |
adev->ras_hw_enabled &= ~(1 << AMDGPU_RAS_BLOCK__VCN |
case AMDGPU_RAS_BLOCK__VCN:
block == AMDGPU_RAS_BLOCK__VCN ||
case AMDGPU_RAS_BLOCK__VCN:
ras->ras_block.ras_comm.block = AMDGPU_RAS_BLOCK__VCN;
adev->ras_hw_enabled |= BIT(AMDGPU_RAS_BLOCK__VCN);
case AMDGPU_RAS_BLOCK__VCN:
amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN))
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN))
if (!amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN))
if (!amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN)) {
if (!amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN)) {
r = amdgpu_ras_bind_aca(adev, AMDGPU_RAS_BLOCK__VCN,
if (!amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN))
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN)) {
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN) && !amdgpu_sriov_vf(adev))
r = amdgpu_ras_bind_aca(adev, AMDGPU_RAS_BLOCK__VCN,
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN)) {
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN) && !amdgpu_sriov_vf(adev))
.blkid = AMDGPU_RAS_BLOCK__VCN,