Searched refs:guest_memory_size (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 294 vcotbl->size_read_back = res->guest_memory_size; in vmw_cotable_scrub() 376 vcotbl->size_read_back = res->guest_memory_size; in vmw_cotable_readback() 406 size_t old_size = res->guest_memory_size; in vmw_cotable_resize() 486 res->guest_memory_size = new_size; in vmw_cotable_resize() 497 res->guest_memory_size = old_size; in vmw_cotable_resize() 547 size_t new_size = res->guest_memory_size; in vmw_cotable_create() 556 if (likely(new_size <= res->guest_memory_size)) { in vmw_cotable_create() 620 vcotbl->res.guest_memory_size = PAGE_SIZE; in vmw_cotable_alloc() 623 vcotbl->res.guest_memory_size = co_info[type].min_initial_entries * in vmw_cotable_alloc() 625 vcotbl->res.guest_memory_size = PFN_ALIGN(vcotbl->res.guest_memory_size); in vmw_cotable_alloc()
|
D | vmwgfx_resource.c | 137 res->guest_memory_size = false; in vmw_resource_release() 325 unsigned long size = PFN_ALIGN(res->guest_memory_size); in vmw_resource_buf_alloc() 331 .size = res->guest_memory_size, in vmw_resource_buf_alloc() 410 (res->guest_memory_offset + res->guest_memory_size, in vmw_resource_do_validate() 586 (unsigned long) res->guest_memory_size); in vmw_resource_reserve() 767 res->guest_memory_size = true; in vmw_resource_unbind_list() 1094 } else if (cur_res->guest_memory_offset + cur_res->guest_memory_size <= in vmw_resources_clean() 1121 last_cleaned = found->guest_memory_offset + found->guest_memory_size; in vmw_resources_clean()
|
D | vmwgfx_surface.c | 385 dev_priv->used_memory_size -= res->guest_memory_size; in vmw_hw_surface_destroy() 415 if (unlikely(dev_priv->used_memory_size + res->guest_memory_size >= in vmw_legacy_srf_create() 453 dev_priv->used_memory_size += res->guest_memory_size; in vmw_legacy_srf_create() 589 dev_priv->used_memory_size -= res->guest_memory_size; in vmw_legacy_srf_destroy() 815 res->guest_memory_size = cur_bo_offset; in vmw_surface_define_ioctl() 859 .size = res->guest_memory_size, in vmw_surface_define_ioctl() 873 ret = ttm_prime_object_init(tfile, res->guest_memory_size, &user_srf->prime, in vmw_surface_define_ioctl() 1508 if (res->guest_memory_bo->tbo.base.size < res->guest_memory_size) { in vmw_gb_surface_define_internal() 1521 res->guest_memory_size, in vmw_gb_surface_define_internal() 1552 ret = ttm_prime_object_init(tfile, res->guest_memory_size, &user_srf->prime, in vmw_gb_surface_define_internal() [all …]
|
D | vmwgfx_page_dirty.c | 313 unsigned long res_end = res->guest_memory_offset + res->guest_memory_size; in vmw_bo_dirty_transfer_to_res() 355 unsigned long res_end = res->guest_memory_offset + res->guest_memory_size; in vmw_bo_dirty_clear_res()
|
D | vmwgfx_context.c | 189 res->guest_memory_size = (dx ? sizeof(SVGADXContextMobFormat) : in vmw_gb_context_init()
|
D | vmwgfx_shader.c | 181 res->guest_memory_size = size; in vmw_gb_shader_init()
|
D | vmwgfx_drv.h | 177 unsigned long guest_memory_size; member
|