drm/amdgpu: always set and check dma addresses in the VM code
authorChristian König <christian.koenig@amd.com>
Mon, 18 Mar 2019 11:24:03 +0000 (12:24 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 18:58:54 +0000 (13:58 -0500)
commit072b7a0bd2f6be51381001b65134715f36518d78
tree54502244e02b56478a2b856cd3b0fcc32cfb074b
parent2c2508029f0266c0bb17fcc51beba84073b6703d
drm/amdgpu: always set and check dma addresses in the VM code

Clean that up a bit and allow to always have the DMA addresses around.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@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_vm.c