drm/amdgpu: skip reroute ih for some ASICs
authorTao Zhou <tao.zhou1@amd.com>
Tue, 28 Jul 2020 05:53:48 +0000 (13:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:01:14 +0000 (14:01 -0400)
commitaeec0744481633a747e39afd2d1c3127328e51e1
treee150c7d1c55ad40b9e0d7dd0f939c9dfb53994eb
parent462c272b9076e80cda8602b9db81f8d105e729b3
drm/amdgpu: skip reroute ih for some ASICs

Add check before reroute ih setting, it's not supported by some ASICs.

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>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c