drm/amdgpu: flip frag_ptes and update_pts
authorChristian König <christian.koenig@amd.com>
Fri, 5 Aug 2016 11:56:35 +0000 (13:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2016 18:05:58 +0000 (14:05 -0400)
commit92696dd52e58b5caaee1dc027cf14f327f91d2e1
tree08656072d379f5ab1fefbe8e04601e626438dd4e
parent27c5f36fe138e29d63eea7d1445bda1ca64921d9
drm/amdgpu: flip frag_ptes and update_pts

We can add the fragment params before we split the update for the page tables.
That should save a few CPU cycles for larger updates.

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