]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit622fea242d0d8eac710cfa8e76e1b97e579a4318
treea6f1fff1739dbfa305453febc26f39df2e4232f0
parent5f864ff282c1722bd53328a2b5e3ff0d18aa2001
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