Roger He 8f2112f84c 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>
2018-01-18 16:07:26 -05:00
..
2017-11-11 11:23:15 +01:00
2017-12-19 21:37:24 +10:00
2018-01-05 11:33:24 +10:00
2017-12-08 10:43:46 +01:00
2017-11-15 20:42:10 -08:00
2018-01-04 20:37:59 +01:00
2017-12-21 11:10:20 +10:00
2017-12-19 21:37:24 +10:00
2017-12-19 21:37:24 +10:00
2017-12-19 21:37:24 +10:00
2017-12-19 21:37:24 +10:00
2017-11-23 12:31:49 +02:00
2017-11-15 20:42:10 -08:00