summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-01-16 20:24:55 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:18:10 -0500
commit0da63bbb5ba6050fcd1595a59645840cf9fd7a24 (patch)
treee2433dd6c78acbebe8e0e74d8fd042c64b37e866 /drivers/gpu/drm/amd/amdgpu/cik.h
parent9096d6e51a121c4cd2ea13e7b5087272425cf87a (diff)
downloadtalos-obmc-linux-0da63bbb5ba6050fcd1595a59645840cf9fd7a24.tar.gz
talos-obmc-linux-0da63bbb5ba6050fcd1595a59645840cf9fd7a24.zip
drm/amdgpu: add PASID mapping for GMC v7
This way we can see the PASID in VM faults. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.h b/drivers/gpu/drm/amd/amdgpu/cik.h
index 201d8786f9cb..e49c6f15a0a0 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.h
+++ b/drivers/gpu/drm/amd/amdgpu/cik.h
@@ -24,7 +24,7 @@
#ifndef __CIK_H__
#define __CIK_H__
-#define CIK_FLUSH_GPU_TLB_NUM_WREG 2
+#define CIK_FLUSH_GPU_TLB_NUM_WREG 3
void cik_srbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid);
OpenPOWER on IntegriCloud