diff options
| author | Christian König <[email protected]> | 2018-01-08 13:48:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-02-19 19:17:47 +0000 |
| commit | 5a4633c4b880cf8d1fe7df9c55766205cf9bc295 (patch) | |
| tree | 63421f601ff8d6584c1df7e5146a26b6649e67e7 /drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | |
| parent | drm/amdgpu: trace the PASID instead of the VM pointer (diff) | |
| download | kernel-5a4633c4b880cf8d1fe7df9c55766205cf9bc295.tar.gz kernel-5a4633c4b880cf8d1fe7df9c55766205cf9bc295.zip | |
drm/amdgpu: forward pasid to backend flush implementations
rd the pasid from the VM code to the emit_vm_flush function and update
all implementations with the new parameter.
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/vce_v3_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index a5355eb689f1..6d616015085b 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c @@ -844,7 +844,8 @@ static void vce_v3_0_ring_emit_ib(struct amdgpu_ring *ring, } static void vce_v3_0_emit_vm_flush(struct amdgpu_ring *ring, - unsigned int vmid, uint64_t pd_addr) + unsigned int vmid, unsigned pasid, + uint64_t pd_addr) { amdgpu_ring_write(ring, VCE_CMD_UPDATE_PTB); amdgpu_ring_write(ring, vmid); |
