drm/ttm: fix adding foreign BOs to the swap LRU
authorChristian König <christian.koenig@amd.com>
Mon, 11 Jan 2016 14:35:19 +0000 (15:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 17:19:52 +0000 (12:19 -0500)
commited704a43e84cc536081423dcd3491acf2791aaeb
tree2b9d58d38b88dcfc741bf7d8c99922f22a728ec6
parent33d48cf8256f2b72e4082a7996c04bf1e78fce81
drm/ttm: fix adding foreign BOs to the swap LRU

It doesn't make any sense to try to swap out imported BOs.

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