diff options
| author | Christian König <christian.koenig@amd.com> | 2020-06-24 15:15:20 +0200 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2020-06-29 17:54:13 +0200 |
| commit | 2ddef17678bc2ea1d20517dd2b4ed4aa967ffa8b (patch) | |
| tree | 4b097fe90e0a0773ec01a06f67e2c75f539bd683 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3 (diff) | |
| download | linux-2ddef17678bc2ea1d20517dd2b4ed4aa967ffa8b.tar.gz linux-2ddef17678bc2ea1d20517dd2b4ed4aa967ffa8b.zip | |
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/
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
