Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c55 new = (res->guest_memory_offset < this->guest_memory_offset) ? in vmw_resource_mob_attach()
228 res->guest_memory_offset = 0; in vmw_resource_init()
408 pgoff_t start = res->guest_memory_offset >> PAGE_SHIFT; in vmw_resource_do_validate()
410 (res->guest_memory_offset + res->guest_memory_size, in vmw_resource_do_validate()
481 res->guest_memory_offset = new_guest_memory_offset; in vmw_resource_unreserve()
1092 if (cur_res->guest_memory_offset >= res_end) { in vmw_resources_clean()
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()
1127 if (found->guest_memory_offset >= res_end) in vmw_resources_clean()
Dvmwgfx_page_dirty.c312 unsigned long res_start = res->guest_memory_offset; in vmw_bo_dirty_transfer_to_res()
313 unsigned long res_end = res->guest_memory_offset + res->guest_memory_size; in vmw_bo_dirty_transfer_to_res()
354 unsigned long res_start = res->guest_memory_offset; in vmw_bo_dirty_clear_res()
355 unsigned long res_end = res->guest_memory_offset + res->guest_memory_size; in vmw_bo_dirty_clear_res()
Dvmwgfx_surface.c1741 size_t backup_end = res->guest_memory_offset + res->guest_memory_size; in vmw_surface_tex_dirty_range_add()
1745 start = max_t(size_t, start, res->guest_memory_offset) - res->guest_memory_offset; in vmw_surface_tex_dirty_range_add()
1746 end = min(end, backup_end) - res->guest_memory_offset; in vmw_surface_tex_dirty_range_add()
1793 size_t backup_end = res->guest_memory_offset + cache->mip_chain_bytes; in vmw_surface_buf_dirty_range_add()
1798 start = max_t(size_t, start, res->guest_memory_offset) - res->guest_memory_offset; in vmw_surface_buf_dirty_range_add()
1799 end = min(end, backup_end) - res->guest_memory_offset; in vmw_surface_buf_dirty_range_add()
1815 if (WARN_ON(end <= res->guest_memory_offset || in vmw_surface_dirty_range_add()
1816 start >= res->guest_memory_offset + res->guest_memory_size)) in vmw_surface_dirty_range_add()
Dvmwgfx_shader.c184 res->guest_memory_offset = offset; in vmw_gb_shader_init()
265 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_gb_shader_bind()
404 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_dx_shader_unscrub()
Dvmwgfx_validation.c401 unsigned long guest_memory_offset) in vmw_validation_res_switch_backup() argument
412 val->new_guest_memory_offset = guest_memory_offset; in vmw_validation_res_switch_backup()
Dvmwgfx_streamoutput.c110 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_dx_streamoutput_unscrub()
Dvmwgfx_drv.h182 unsigned long guest_memory_offset; member
Dvmwgfx_kms.c1476 res->guest_memory_offset = 0; in vmw_create_bo_proxy()