]> 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)
commit1224dbc9331fb5fea6133bc344ae5664cecff3fa
tree8efdb108239045dc6c83f24fe994046d5394ae0d
parent10d9096b3600278b228a6ede68db28c7841e468f
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