]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Don't unreserve swapped BOs that were previously reserved
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 18 Jan 2018 04:54:07 +0000 (23:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2018 21:14:32 +0000 (16:14 -0500)
commit50d748d04aa2739d91cdbf799f65be0cecba85a7
treeab56885a0f12f07714e80e92a2c1b040cd93ecdd
parentb52b0de1df80f1b0c37e3f267299d040a03735a3
drm/ttm: Don't unreserve swapped BOs that were previously reserved

If ttm_bo_swapout doesn't own the lock, don't release it. Someone
else probably depends on it still being locked.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c