drm/amdgpu: add member to store vm fault interrupt masks
authorHuang Rui <ray.huang@amd.com>
Tue, 21 Jul 2020 06:24:43 +0000 (14:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jul 2020 22:42:42 +0000 (18:42 -0400)
commit5befb6fc3b77b7c689c22ceb190e9d9087b3a961
tree4eed21c20de267444fd2906ed4fa43c42316c041
parent799a2fbbbfc1caa6832c4b74294e6e86fb1ebb4e
drm/amdgpu: add member to store vm fault interrupt masks

This patch adds a member in vmhub structure to store the vm fault interrupt
masks for different version gfxhubs/mmhubs.

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.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c