Skip to content

Commit 66d64e4

Browse files
Stanley.Yangalexdeucher
authored andcommitted
drm/amdgpu: Enable RAS feature by default for APU
Enable RAS feature by default for aqua vanjaram on apu platform. 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>
1 parent 49c260b commit 66d64e4

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,18 +2653,8 @@ static void amdgpu_ras_check_supported(struct amdgpu_device *adev)
26532653
/* hw_supported needs to be aligned with RAS block mask. */
26542654
adev->ras_hw_enabled &= AMDGPU_RAS_BLOCK_MASK;
26552655

2656-
2657-
/*
2658-
* Disable ras feature for aqua vanjaram
2659-
* by default on apu platform.
2660-
*/
2661-
if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) &&
2662-
adev->gmc.is_app_apu)
2663-
adev->ras_enabled = amdgpu_ras_enable != 1 ? 0 :
2664-
adev->ras_hw_enabled & amdgpu_ras_mask;
2665-
else
2666-
adev->ras_enabled = amdgpu_ras_enable == 0 ? 0 :
2667-
adev->ras_hw_enabled & amdgpu_ras_mask;
2656+
adev->ras_enabled = amdgpu_ras_enable == 0 ? 0 :
2657+
adev->ras_hw_enabled & amdgpu_ras_mask;
26682658
}
26692659

26702660
static void amdgpu_ras_counte_dw(struct work_struct *work)

0 commit comments

Comments
 (0)