drm/amdgpu: Remove duplicate setting of ->need_swiotlb
authorThierry Reding <treding@nvidia.com>
Tue, 20 Feb 2018 10:44:50 +0000 (11:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:37 +0000 (23:09 -0500)
commit421334a8476fe53b147139e1221cf7b368dd7c6e
tree6b35335250a751b8e30a9ccdd68e03cf8e7e53e5
parent3214e02199f0c1c5db6de2fa3eb8240e08f4e17d
drm/amdgpu: Remove duplicate setting of ->need_swiotlb

There's no need to set this before the number of DMA bits has been
properly determined.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c