drm/ttm: allow mapping BOs while they are still on the swap list
authorChristian König <christian.koenig@amd.com>
Wed, 6 Sep 2017 14:55:55 +0000 (16:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:27:01 +0000 (14:27 -0400)
commitf5683f8b3794f9496877fb9e20305433c6575b81
treefa9e21c5e7ceb4db91f09d1ffddbda88b1c80e0f
parent3fe89771cb0a65d3b686bcafb5b7e3ebae0ea604
drm/ttm: allow mapping BOs while they are still on the swap list

With shared reservation objects it is possible that we want to temporary
kmap an BO while it is still on the swap list.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_util.c