diff options
author | Christian König <christian.koenig@amd.com> | 2016-10-17 15:08:10 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:23 -0400 |
commit | 8437a097fe604c81a0fda71017837d0f7e7df8b0 (patch) | |
tree | 98bee3e877e6dbbf0a4c42691889e27335500522 /drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | |
parent | 49ac8a24caa9579656ea9058c8281d7f668b22dd (diff) | |
download | linux-stable-8437a097fe604c81a0fda71017837d0f7e7df8b0.tar.gz linux-stable-8437a097fe604c81a0fda71017837d0f7e7df8b0.tar.bz2 linux-stable-8437a097fe604c81a0fda71017837d0f7e7df8b0.zip |
drm/amdgpu: add num_level to the VM manager
Needs to be filled with handling.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c index 35f74c6d1f29..d9586601a437 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c @@ -621,6 +621,7 @@ static int gmc_v6_0_vm_init(struct amdgpu_device *adev) * amdkfd will use VMIDs 8-15 */ adev->vm_manager.num_ids = AMDGPU_NUM_OF_VMIDS; + adev->vm_manager.num_level = 1; amdgpu_vm_manager_init(adev); /* base offset of vram pages */ |