OpenCloudOS-Kernel/drivers/gpu/drm/ttm
Christian König 2ddef17678 drm/ttm: make TT creation purely optional v3
We only need the page array when the BO is about to be accessed.

So not only populate, but also create it on demand.

v2: move NULL check into ttm_tt_create()
v3: fix the occurrence in ttm_bo_kmap_ttm as well

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/373182/
2020-06-29 17:54:13 +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.c drm/ttm: make TT creation purely optional v3 2020-06-29 17:54:13 +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/ttm: make TT creation purely optional v3 2020-06-29 17:54:13 +02:00
ttm_bo_vm.c drm/ttm: make TT creation purely optional v3 2020-06-29 17:54:13 +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 Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_page_alloc_dma.c drm/ttm: Use scnprintf() for avoiding potential buffer overflow 2020-03-11 12:44:21 +01:00
ttm_tt.c drm/ttm: make TT creation purely optional v3 2020-06-29 17:54:13 +02:00