]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: allow specifying vm_block_size for multi level PDs v2
authorChristian König <christian.koenig@amd.com>
Mon, 27 Nov 2017 15:22:05 +0000 (16:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:31 +0000 (12:48 -0500)
commit89451938de5ad0fc3ca33a41693ec87e84931f02
tree656cfcc8985ca50d147917e57c09fec819649e5f
parentc7ac3a3bb56b98c93d165720336b168907ff585a
drm/amdgpu: allow specifying vm_block_size for multi level PDs v2

This patch allows specifying the vm_block_size even when multi level
page directories are active.

v2: fix signed/unsigned compare warning

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