drm/amdgpu: implement tlbs invalidate on gfx9 gfx10
authorAlex Sierra <alex.sierra@amd.com>
Thu, 9 Jan 2020 22:16:28 +0000 (16:16 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:34:11 +0000 (13:34 -0500)
commit58e508b6be82387d22785b8a4e54e50554a91594
tree45739a76e43a6e215b77be56b51586e5d86d2dc0
parentf167ea6a14a24308a34c50c28aec1e1ffe666e22
drm/amdgpu: implement tlbs invalidate on gfx9 gfx10

tlbs invalidate pointer function added to kiq_pm4_funcs struct.
This way, tlb flush can be done through kiq member.
TLBs invalidatation implemented for gfx9 and gfx10.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c