diff options
author | Christian König <christian.koenig@amd.com> | 2017-03-30 14:03:59 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-04 13:40:32 -0400 |
commit | a9f87f6452543505108d7d9b36d948534ea28b0b (patch) | |
tree | 2a5915b40a970c9957f8649ae5d315c66911b39a /drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | |
parent | ca7f65c76714e170692b3aad8d734d2b41e16b7f (diff) | |
download | linux-a9f87f6452543505108d7d9b36d948534ea28b0b.tar.gz linux-a9f87f6452543505108d7d9b36d948534ea28b0b.tar.bz2 linux-a9f87f6452543505108d7d9b36d948534ea28b0b.zip |
drm/amdgpu: use a 64bit interval tree for VM management v2
This only makes a difference for 32-bit systems. The idea is to have a
fixed virtual address space size with 4-level page tables and to
minimize differences between 32 and 64-bit systems.
v2: Update commit message.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c index 7ea3cacf9f9f..38f739fb727b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c @@ -31,6 +31,7 @@ #include <linux/firmware.h> #include <linux/module.h> #include <linux/mmu_notifier.h> +#include <linux/interval_tree.h> #include <drm/drmP.h> #include <drm/drm.h> |