drm/amdgpu: add function pointer to the pte_update_params
authorChristian König <christian.koenig@amd.com>
Fri, 12 Aug 2016 11:29:18 +0000 (13:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2016 14:44:45 +0000 (10:44 -0400)
commitafef8b8f99b6489ae1e9fe535d74bf2ce9fa17bd
tree926f32e39cff4e7a628803abb68fb9c228bfcd0f
parent96105e5375892f63cc56fa707a1db0d74abc764d
drm/amdgpu: add function pointer to the pte_update_params

Remember what function to call while planning the commands instead
of figuring it our later on.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c