linux/drivers/gpu/drm/ttm
Christian König df9bcb0652 drm/ttm: use reservation_object_trylock in ttm_bo_individualize_resv v2
Fixes a false positive from might_sleep(). The reservation object is freshly
initialized, so nobody else can hold the mutex but the function is
called from atomic context.

v2: Correctly invert the check as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-18 12:02:58 -04:00
..
Makefile drm/ttm: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:16 +02:00
ttm_agp_backend.c drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_bo.c drm/ttm: use reservation_object_trylock in ttm_bo_individualize_resv v2 2017-08-18 12:02:58 -04:00
ttm_bo_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
ttm_bo_util.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
ttm_bo_vm.c drm/ttm: Implement vm_operations_struct.access v2 2017-07-25 16:29:02 -04:00
ttm_execbuf_util.c locking/atomic, kref: Kill kref_sub() 2017-01-14 11:37:19 +01:00
ttm_lock.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
ttm_memory.c drm/ttm: Add interface to export kernel_zone max memory size in ttm 2016-08-08 11:33:08 -04:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c drm/ttm: Avoid calling drm_ht_remove from atomic context 2017-03-30 11:43:40 +02:00
ttm_page_alloc.c drm/ttm: Fix accounting error when fail to get pages for pool 2017-08-17 16:47:44 -04:00
ttm_page_alloc_dma.c drm: use set_memory.h header 2017-05-08 17:15:14 -07:00
ttm_tt.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00