Re: [PATCH 6/7] drm/ttm: make unlocking in ttm_bo_cleanup_refs optional

2017-11-12 Thread Christian König
Good catch and yeah that is actually the real problem why my original patch didn't worked as expected. Going to fix this in v2, Christian. Am 10.11.2017 um 10:55 schrieb He, Roger: static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo, bool interruptible, b

RE: [PATCH 6/7] drm/ttm: make unlocking in ttm_bo_cleanup_refs optional

2017-11-10 Thread He, Roger
static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo, bool interruptible, bool no_wait_gpu, bool unlock_resv) { .. ttm_bo_del_from_lru(bo); list_del_init(&bo->ddestroy); kref_put(&bo->list_kref,