linux/drivers/gpu/drm/ttm
Christian König 58e4d686d4 drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3
Instead of signaling failure by setting the node pointer to
NULL do so by returning -ENOSPC.

v2: add memset() to make sure that mem is always initialized.
v3: drop memset() only set mm_node = NULL, move mm_node init in amdgpu

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/373181/
2020-06-29 17:54:12 +02:00
..
Makefile drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool 2019-11-14 08:41:23 +01:00
ttm_agp_backend.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_bo_manager.c drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3 2020-06-29 17:54:12 +02:00
ttm_bo_util.c drm: remove drm specific kmap_atomic code 2020-06-04 19:06:22 -07:00
ttm_bo_vm.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
ttm_bo.c drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3 2020-06-29 17:54:12 +02:00
ttm_execbuf_util.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_memory.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.c
ttm_page_alloc_dma.c drm/ttm: Use scnprintf() for avoiding potential buffer overflow 2020-03-11 12:44:21 +01:00
ttm_page_alloc.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_tt.c drm/ttm: ttm_tt_init_fields() can be static 2019-11-04 13:02:34 +01:00