drm/amdgpu: fix the broken vm->mutex V2
authorChunming Zhou <david1.zhou@amd.com>
Fri, 16 Oct 2015 06:06:19 +0000 (14:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Oct 2015 15:35:14 +0000 (11:35 -0400)
commitf48b2659f521301753f9b3b67e308a79c6110346
treea6f1fff1739dbfa305453febc26f39df2e4232f0
parentce16b0e5a32a157abd6446214e8b91c55064204e
drm/amdgpu: fix the broken vm->mutex V2

fix the vm->mutex and ww_mutex confilcts.
vm->mutex is always token first, then ww_mutex.

V2: remove unneccessary checking for pt bo.

Change-Id: Iea56e183752c02831126d06d2f5b7a474a6e4743
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c