VIGS: unbind ttm bo before swapout
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Thu, 5 Nov 2015 14:43:49 +0000 (17:43 +0300)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Wed, 10 May 2017 08:48:05 +0000 (17:48 +0900)
commit9c722b3e7d443e15654638c90a2687529bb4dc92
tree0aff62a8db3a28821612ed836071cc8318011dfb
parentb07dd0103027d0ff8c5680dc947f76c074879e8c
VIGS: unbind ttm bo before swapout

TTM BUGs if ttm_tt appears bound while being swaped out. Certain
precautions are now taken in swap_notify ttm_bo_driver callback.

Change-Id: I0c461e6d179af4b424125c1615f95738ac429d47
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
(cherry picked from commit c1d6b3e728436abaf4833abc66be8bf0f299506f)
drivers/gpu/drm/vigs/vigs_mman.c