]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: write PTEs directly into the IB.
authorChristian König <christian.koenig@amd.com>
Thu, 11 Aug 2016 12:06:54 +0000 (14:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2016 14:43:44 +0000 (10:43 -0400)
commitc0d60b71aa80da17cc5d472b5a5ce6e60e3e8105
tree59f9cef61f1d68cf3bb6b4baa70b47ba610d4b6a
parent749f0dd8e7fd4d93202ff500db561f911aa73251
drm/amdgpu: write PTEs directly into the IB.

Write the PTEs at the end of the IB instead of directly into the SDMA commands.
This can save quite some CPU cycles building the entries.

This doesn't change the DW estimation because PTEs where embedded into the IB
before as well. It just moves them to the end of the IB.

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