]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d1f81a2f10b1c990ef5a3adbf2b3a2b3d93334a
tree761f8469eda022f66d07617680c8fccbac1df66c
parentd9744efaa97c564d76139413a2651c0b1d4aa3b8
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