drm/amdgpu: Set XNACK per process on GC 9.4.3
authorAmber Lin <Amber.Lin@amd.com>
Wed, 23 Mar 2022 15:01:52 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:43:26 +0000 (09:43 -0400)
commitd25555866172a0454b0dc1374b0ff29e1ae5f676
tree2aa76b64687e2374d7b8e27b78dd4ba863549a5f
parent5db392a04575120de4e73ee10c0dc727426100c7
drm/amdgpu: Set XNACK per process on GC 9.4.3

Set RETRY_PERMISSION_OR_INVALID_PAGE_FAULT bit in VM_CONTEXT1_CNTL
as well so XNACK can be enabled in the SQ per process.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c