]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add helper for VM PD/PT allocation parameters v3
authorChristian König <christian.koenig@amd.com>
Mon, 27 Aug 2018 20:17:59 +0000 (15:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:19:12 +0000 (15:19 -0500)
commita6092b1d2140631dd12b879346c89f82bcfd5d11
tree8efdb108239045dc6c83f24fe994046d5394ae0d
parentb5945fb1549fcd16e442c6e645e0fa485b80797c
drm/amdgpu: add helper for VM PD/PT allocation parameters v3

Add a helper function to figure them out only once.

v2: fix typo with memset
v3: rebase on kfd changes (Alex)

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