Home
last modified time | relevance | path

Searched refs:backup_size (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c278 vcotbl->size_read_back = res->backup_size; in vmw_cotable_scrub()
360 vcotbl->size_read_back = res->backup_size; in vmw_cotable_readback()
390 size_t old_size = res->backup_size; in vmw_cotable_resize()
462 res->backup_size = new_size; in vmw_cotable_resize()
473 res->backup_size = old_size; in vmw_cotable_resize()
510 size_t new_size = res->backup_size; in vmw_cotable_create()
519 if (likely(new_size <= res->backup_size)) { in vmw_cotable_create()
600 vcotbl->res.backup_size = PAGE_SIZE; in vmw_cotable_alloc()
603 vcotbl->res.backup_size = co_info[type].min_initial_entries * in vmw_cotable_alloc()
605 vcotbl->res.backup_size = in vmw_cotable_alloc()
[all …]
Dvmwgfx_surface.c389 dev_priv->used_memory_size -= res->backup_size; in vmw_hw_surface_destroy()
419 if (unlikely(dev_priv->used_memory_size + res->backup_size >= in vmw_legacy_srf_create()
457 dev_priv->used_memory_size += res->backup_size; in vmw_legacy_srf_create()
592 dev_priv->used_memory_size -= res->backup_size; in vmw_legacy_srf_destroy()
849 res->backup_size = cur_bo_offset; in vmw_surface_define_ioctl()
888 res->backup_size, in vmw_surface_define_ioctl()
900 ret = ttm_prime_object_init(tfile, res->backup_size, &user_srf->prime, in vmw_surface_define_ioctl()
1554 res->backup_size) { in vmw_gb_surface_define_internal()
1567 res->backup_size, in vmw_gb_surface_define_internal()
1600 ret = ttm_prime_object_init(tfile, res->backup_size, &user_srf->prime, in vmw_gb_surface_define_internal()
[all …]
Dvmwgfx_resource.c358 (res->backup_size + PAGE_SIZE - 1) & PAGE_MASK; in vmw_resource_buf_alloc()
371 ret = vmw_bo_init(res->dev_priv, backup, res->backup_size, in vmw_resource_buf_alloc()
442 (res->backup_offset + res->backup_size, in vmw_resource_do_validate()
615 (unsigned long) res->backup_size); in vmw_resource_reserve()
1122 } else if (cur_res->backup_offset + cur_res->backup_size <= in vmw_resources_clean()
1149 last_cleaned = found->backup_offset + found->backup_size; in vmw_resources_clean()
Dvmwgfx_page_dirty.c331 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_transfer_to_res()
373 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_clear_res()
Dvmwgfx_shader.c183 res->backup_size = size; in vmw_gb_shader_init()
Dvmwgfx_context.c187 res->backup_size = (dx ? sizeof(SVGADXContextMobFormat) : in vmw_gb_context_init()
Dvmwgfx_drv.h175 unsigned long backup_size; member
/drivers/dma/
Dste_dma40.c505 u32 backup_size; member
2981 base->gen_dmac.backup_size, in d40_save_restore_registers()
3218 base->gen_dmac.backup_size = BACKUP_REGS_SZ_V4B; in d40_hw_detect_init()
3232 base->gen_dmac.backup_size = BACKUP_REGS_SZ_V4A; in d40_hw_detect_init()