]> 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)
commit65de4316cf3664995a839e0c0a005e22a7d38bb4
tree59f9cef61f1d68cf3bb6b4baa70b47ba610d4b6a
parentede355427563df73320de897705d0e2111e78a79
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