]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaeb0045c4cf3aa7c6a192d2a1b3fc51c7d5e5d6
treed0482ae7c3f3cf5fefdf7f8cc7db805ecc45b4ae
parent020ca9b0770db52b96b694eaeff85304aa72909b
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: e25be8475cd2 ("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