diff options
author | 2018-01-15 13:06:38 +0800 | |
---|---|---|
committer | 2018-01-18 16:07:26 -0500 | |
commit | 8f2112f84c3c2acd3fcc8b922e78b6758db902db (patch) | |
tree | 1f5e88f225fa4ae80d976d87333ef881bdba74cc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/radeon: fill in rb backend map on evergreen/ni. (diff) | |
download | linux-dev-8f2112f84c3c2acd3fcc8b922e78b6758db902db.tar.xz linux-dev-8f2112f84c3c2acd3fcc8b922e78b6758db902db.zip |
drm/ttm: add VADDR_FLAG_UPDATED_COUNT to correctly update dma_page global count
add this for correctly updating global mem count in ttm_mem_zone.
before that when ttm_mem_global_alloc_page fails, we would update all
dma_page's global mem count in ttm_dma->pages_list. but actually here
we should not update for the last dma_page.
v2: only the update of last dma_page is not right
v3: use lower bits of dma_page vaddr
Signed-off-by: Roger He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions