]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drm/amdgpu: clear PDs/PTs only after initializing them
authorChristian König <christian.koenig@amd.com>
Wed, 30 Jan 2019 13:44:36 +0000 (14:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Feb 2019 03:24:12 +0000 (22:24 -0500)
commit1e2930374f565312e726f86150d9d1484f81c4d9
tree7c2d163f16f067e2f00d4d1d5325d77f541a7976
parent672e78cab819ebe31e3b9b8abac367be8a110472
drm/amdgpu: clear PDs/PTs only after initializing them

Clear the VM PDs/PTs only after initializing all the structures.

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_vm.c