drm/amdgpu: add PASID mapping for GMC v8

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>
This commit is contained in:
Christian König
2018-01-16 20:26:03 +01:00
committed by Alex Deucher
parent 0da63bbb5b
commit 86ea2ff698
2 changed files with 3 additions and 1 deletions

View File

@@ -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);