drm/amdgpu: Use the correct flush_type in flush_gpu_tlb_pasid
authorFelix Kuehling <Felix.Kuehling@amd.com>
Sat, 18 Jan 2020 01:08:42 +0000 (20:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:44 +0000 (16:46 -0500)
commitfa34edbed46178545285fd080c8d4d3fbc8fbc71
treed0482ae7c3f3cf5fefdf7f8cc7db805ecc45b4ae
parent37c58ddf57364d1a636850bb8ba6acbe1e16195e
drm/amdgpu: Use the correct flush_type in flush_gpu_tlb_pasid

The flush_type was incorrectly hard-coded to 0 when calling falling back
to MMIO-based invalidation in flush_gpu_tlb_pasid.

Fixes: ea930000a6dc ("drm/amdgpu: export function to flush TLB via pasid")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c