Commit aeec0744 authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher

drm/amdgpu: skip reroute ih for some ASICs

Add check before reroute ih setting, it's not supported by some ASICs.
Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 462c272b
...@@ -438,8 +438,8 @@ static int psp_v11_0_ring_init(struct psp_context *psp, ...@@ -438,8 +438,8 @@ static int psp_v11_0_ring_init(struct psp_context *psp,
struct amdgpu_device *adev = psp->adev; struct amdgpu_device *adev = psp->adev;
if ((!amdgpu_sriov_vf(adev)) && if ((!amdgpu_sriov_vf(adev)) &&
(adev->asic_type != CHIP_SIENNA_CICHLID) && !(adev->asic_type >= CHIP_SIENNA_CICHLID &&
(adev->asic_type != CHIP_NAVY_FLOUNDER)) adev->asic_type <= CHIP_DIMGREY_CAVEFISH))
psp_v11_0_reroute_ih(psp); psp_v11_0_reroute_ih(psp);
ring = &psp->km_ring; ring = &psp->km_ring;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment