Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: enable RAS for VCN/JPEG v4.0

Set support flag for VCN/JPEG 4.0.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tao Zhou and committed by
Alex Deucher
07615da1 1a11a65d

+2 -1
+2 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
··· 2348 2348 adev->ras_hw_enabled |= ~(1 << AMDGPU_RAS_BLOCK__UMC | 2349 2349 1 << AMDGPU_RAS_BLOCK__DF); 2350 2350 2351 - if (adev->ip_versions[VCN_HWIP][0] == IP_VERSION(2, 6, 0)) 2351 + if (adev->ip_versions[VCN_HWIP][0] == IP_VERSION(2, 6, 0) || 2352 + adev->ip_versions[VCN_HWIP][0] == IP_VERSION(4, 0, 0)) 2352 2353 adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__VCN | 2353 2354 1 << AMDGPU_RAS_BLOCK__JPEG); 2354 2355 else