]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: once more fix ttm_buffer_object_transfer
authorChristian König <christian.koenig@amd.com>
Mon, 30 Oct 2017 13:57:43 +0000 (14:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Oct 2017 21:54:12 +0000 (17:54 -0400)
commit5f801197c4582a2879d9e939e98b6a15c6455588
tree8644d3260a1267f1de02d55acf8bfa2ee5035d39
parent1f236364ec7663670cf4a2162ac658df7aee3b90
drm/ttm: once more fix ttm_buffer_object_transfer

When the mutex is locked just in the moment we copy it we end up with a
warning that we release a locked mutex.

Fix this by properly reinitializing the mutex.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_util.c