aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2018-01-16 19:26:03 +0000
committerAlex Deucher <[email protected]>2018-02-19 19:18:11 +0000
commit86ea2ff6981cf773ca77df4a4fa8b47ac24446e4 (patch)
treeaea76de979d5507c42c307c70567698ebe974592 /drivers/gpu/drm/amd/amdgpu/vi.h
parentdrm/amdgpu: add PASID mapping for GMC v7 (diff)
downloadkernel-86ea2ff6981cf773ca77df4a4fa8b47ac24446e4.tar.gz
kernel-86ea2ff6981cf773ca77df4a4fa8b47ac24446e4.zip
drm/amdgpu: add PASID mapping for GMC v8
This way we can see the PASID in VM faults. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.h b/drivers/gpu/drm/amd/amdgpu/vi.h
index 6cc2bee4abf7..0429fe332269 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.h
+++ b/drivers/gpu/drm/amd/amdgpu/vi.h
@@ -24,7 +24,7 @@
#ifndef __VI_H__
#define __VI_H__
-#define VI_FLUSH_GPU_TLB_NUM_WREG 2
+#define VI_FLUSH_GPU_TLB_NUM_WREG 3
void vi_srbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid);