drm/amdgpu: abstract set_vm_fault_masks function to refine the programming
authorHuang Rui <ray.huang@amd.com>
Tue, 21 Jul 2020 06:57:02 +0000 (14:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jul 2020 22:42:49 +0000 (18:42 -0400)
commitf2c1b5c145c8ffe71b314d94f35383ac0d94edd0
treeb366d4d1f142e95bd9309ebf20a39753a8ce460d
parent5befb6fc3b77b7c689c22ceb190e9d9087b3a961
drm/amdgpu: abstract set_vm_fault_masks function to refine the programming

This patch is to add set_vm_fault_masks helper to amdgpu_gmc to refine the
original programming.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c