drm/amdgpu: use sdma_v6 single packet invalidation
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 5 Apr 2023 08:23:31 +0000 (10:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:45 +0000 (18:03 -0400)
commitfebc9c65b37f6f5cc03ed0b6d613fb045c39b376
tree6e7d93764ed27ce787e0c8f1f02d91225f108598
parentaee89b7d0929bfc6530a1468d34e0befc1991389
drm/amdgpu: use sdma_v6 single packet invalidation

This achieves the same result as the sequence used in emit_flush_gpu_tlb
but the invalidation is now a single packet instead of the 3 packets
required to implement reg_write_reg_wait.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c