]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/ttm: fix missing parameter change for ttm_bo_cleanup_refs
authorRoger He <Hongbo.He@amd.com>
Fri, 19 Jan 2018 06:34:16 +0000 (14:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Jan 2018 03:53:12 +0000 (22:53 -0500)
commita86170290c38ca1dad556a42f1d57f39dd62af45
tree762301780dcff413212634cee37b72f18e57b235
parent559f17bec508548850654dd04525fd69d90f6d4e
drm/ttm: fix missing parameter change for ttm_bo_cleanup_refs

Missed in the patche:
dc94777 drm/ttm: enable swapout for reserved BOs during allocation.
don't unreserve the BO if it is not reserved by itself.

Signed-off-by: Roger He <Hongbo.He@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