drm/amdgpu: move PD/PT address calculation into backend function
authorChristian König <christian.koenig@amd.com>
Tue, 16 Jan 2018 15:54:25 +0000 (16:54 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:45 +0000 (14:17 -0500)
commit373ac645c9b83ffd93f9905458166b25191a8df6
treefcfec6301257b0d62f52b1dfec9460fbd44feb88
parent132f34e4b558488cc8d153a1d18833054a76e44c
drm/amdgpu: move PD/PT address calculation into backend function

This way we can better handle the differences for CPU based updates.

Signed-off-by: Christian König <christian.koenig@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