drm/amdgpu: reroute VMC and UMD to IH ring 1 for oss v5
authorAlex Sierra <alex.sierra@amd.com>
Mon, 23 Mar 2020 19:00:43 +0000 (14:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:44 +0000 (14:44 -0400)
commit9e94ff33861031cb3714f6484f67740c3b2da137
tree761f8469eda022f66d07617680c8fccbac1df66c
parent0ab176e69c8d82d43fea23c51498653a3a28f13e
drm/amdgpu: reroute VMC and UMD to IH ring 1 for oss v5

[Why]
Due Page faults can easily overwhelm the interrupt handler.
So to make sure that we never lose valuable interrupts on the primary ring
we re-route page faults to IH ring 1.
It also facilitates the recovery page process, since it's already
running from a process context.
This is valid for Arcturus and future Navi generation GPUs.

[How]
Setting IH_CLIENT_CFG_DATA for VMC and UMD IH clients.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/navi10_ih.c