]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:25:43 +0000 (10:25 +0100)
commit5f0ae042f48fb835288283872ea871a8c6e56bb2
treebb93f0320ff545e70d860fd4ef8af4327fe1d55c
parent35a22fbffea1a3cddb9c68326e3445baa4b6e92a
drm/ttm: fix adding foreign BOs to the swap LRU

BugLink: http://bugs.launchpad.net/bugs/1546572
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>
(cherry picked from commit ed704a43e84cc536081423dcd3491acf2791aaeb)
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/ttm/ttm_bo.c