drm/amdgpu: fix waiting for BO moves with CPU based PD/PT updates
authorChristian König <christian.koenig@amd.com>
Wed, 30 Jan 2019 13:12:51 +0000 (14:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 02:16:22 +0000 (21:16 -0500)
commit90d647222a8f004bf1430ecea3099ebcc54bfc21
treef101210c63306297abff087ff1b563ebe8548f14
parent12a8bd8862ebd7d6e0f764120e2f322ddc077a11
drm/amdgpu: fix waiting for BO moves with CPU based PD/PT updates

Otherwise we open up the possibility to use uninitialized memory.

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