diff options
author | Huang Rui <ray.huang@amd.com> | 2020-07-21 09:24:43 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-23 01:42:42 +0300 |
commit | 5befb6fc3b77b7c689c22ceb190e9d9087b3a961 (patch) | |
tree | 4eed21c20de267444fd2906ed4fa43c42316c041 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | |
parent | 799a2fbbbfc1caa6832c4b74294e6e86fb1ebb4e (diff) | |
download | linux-5befb6fc3b77b7c689c22ceb190e9d9087b3a961.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h index acdb61cfa24c..e11c21a639fd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h @@ -92,6 +92,8 @@ struct amdgpu_vmhub { uint32_t ctx_addr_distance; /* include LO32/HI32 */ uint32_t eng_distance; uint32_t eng_addr_distance; /* include LO32/HI32 */ + + uint32_t vm_cntx_cntl_vm_fault; }; /* |