drm/amdgpu: Remove unnecessary TLB workaround (v2)
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 30 Aug 2019 01:18:43 +0000 (21:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:08 +0000 (17:36 -0500)
commit17da41bf00c849d809cb3cc5eebc43a1924736fd
tree61b7419114c617b915c078a358e04fb8342f442c
parente0253d083c5c77fa100cdc89680e5bc667d6ef4d
drm/amdgpu: Remove unnecessary TLB workaround (v2)

This workaround is better handled in user mode in a way that doesn't
require allocating extra memory and breaking userptr BOs.

The TLB bug is a performance bug, not a functional or security bug.
Hence it is safe to remove this kernel part of the workaround to
allow a better workaround using only virtual address alignments in
user mode.

v2: Removed VI_BO_SIZE_ALIGN definition

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c