]> 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)
commit8afd33dc2c2116b7bbdb60560f7b15b099a90686
treeab56885a0f12f07714e80e92a2c1b040cd93ecdd
parent233dbead3da5e4f9596994b01c29865b4d23a3d3
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