drm/amdgpu: fix wrong release of vmid owner
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 25 Apr 2016 02:28:24 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 16:31:14 +0000 (12:31 -0400)
commit444066b915c1b9d0aa4ec7b2d2bbe627e08bf7a6
tree6c4ea3a9b09075a9c7ec4edfcec37939b93bb488
parent2e726dc4b4e2dd3ae3fe675f9d3af88a2d593ee1
drm/amdgpu: fix wrong release of vmid owner

The release of the vmid owner was not handled
correctly.  We need to take the lock and walk
the lru list.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c