linux_dsm_epyc7002/drivers/gpu/drm/ttm
Thomas Hellstrom 3ce7803cf3 drm/ttm: Avoid calling drm_ht_remove from atomic context
On recent kernels, calling drm_ht_remove triggers a might_sleep() warning
from within vfree(). So avoid calling it from atomic context. The use-cases
we fix here are both from destructors so there should be no concurrent
use of the hash tables.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2017-03-30 11:43:40 +02:00
..
Makefile drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_agp_backend.c drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_bo_manager.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01: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 mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
ttm_bo.c Less anger inducing pull request for 4.11 2017-02-23 18:58:18 -08: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_dma.c drm/ttm: remove cpu_address member from ttm_tt 2016-09-16 15:53:05 -04:00
ttm_page_alloc.c drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_tt.c drm/ttm: remove cpu_address member from ttm_tt 2016-09-16 15:53:05 -04:00