]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit97489129c220ef67195c886f9f2bad9651edd601
tree656cfcc8985ca50d147917e57c09fec819649e5f
parentf3368128bacece315aa0384b54b7da9e6f0909cd
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