]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitace4b6cbf252de15b98fec20a9dee03ac7bfcd8a
tree45739a76e43a6e215b77be56b51586e5d86d2dc0
parent7a8ea04bfa12c8213b84ca8ccdf75365bb0c0610
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