drm/amdgpu/gfx10: use INVALIDATE_TLBS to invalidate TLBs v2
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 20 Mar 2020 04:21:14 +0000 (12:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:03:54 +0000 (10:03 -0400)
commit115efa440f78f925ad52c234ad20c5205eb3af2f
tree865e5c181d73a44f55022a3bcf89f10d2cd542d3
parent1f0f303c858f4ff8f5c659075ff0ecbcce784adb
drm/amdgpu/gfx10: use INVALIDATE_TLBS to invalidate TLBs v2

For MES queue VM flush, use INVALIDATE_TLBS to invalidate TLBs.
This packet can let CP firmware to determine the current vmid
and inv eng to invalidate.

v2: unify invalidate_tlbs functions

Cc: Le Ma <le.ma@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c