Searched refs:new_iomap (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 366 void *new_iomap; in ttm_bo_move_memcpy() local 380 ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap); in ttm_bo_move_memcpy() 387 if (old_iomap == NULL && new_iomap == NULL) in ttm_bo_move_memcpy() 396 memset_io(new_iomap, 0, new_mem->num_pages*PAGE_SIZE); in ttm_bo_move_memcpy() 423 ret = ttm_copy_ttm_io_page(ttm, new_iomap, page, in ttm_bo_move_memcpy() 425 } else if (new_iomap == NULL) { in ttm_bo_move_memcpy() 431 ret = ttm_copy_io_page(new_iomap, old_iomap, page); in ttm_bo_move_memcpy() 448 ttm_mem_reg_iounmap(bdev, old_mem, new_iomap); in ttm_bo_move_memcpy()
|