drm/amdgpu: cleanup amdgpu_vm_init()
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 22 Apr 2021 10:53:16 +0000 (12:53 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:18:19 +0000 (17:18 -0400)
commita35455d065c544669d7a80b9bc422ecb9208e282
treeef6df69df7ac93dc6663b1e5d3f4775becbf19e3
parent25e9146ae69ea303234092242514f72b0ccdb40c
drm/amdgpu: cleanup amdgpu_vm_init()

Currently only way to create compute vm is through
amdgpu_vm_make_compute(). So vm_context isn't required
anymore for amdgpu_vm_init().

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