Home
last modified time | relevance | path

Searched refs:backup_offset (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c54 new = (res->backup_offset < this->backup_offset) ? in vmw_resource_mob_attach()
226 res->backup_offset = 0; in vmw_resource_init()
440 pgoff_t start = res->backup_offset >> PAGE_SHIFT; in vmw_resource_do_validate()
442 (res->backup_offset + res->backup_size, in vmw_resource_do_validate()
513 res->backup_offset = new_backup_offset; in vmw_resource_unreserve()
1120 if (cur_res->backup_offset >= res_end) { in vmw_resources_clean()
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()
1155 if (found->backup_offset >= res_end) in vmw_resources_clean()
Dvmwgfx_page_dirty.c330 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_transfer_to_res()
331 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_transfer_to_res()
372 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_clear_res()
373 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_clear_res()
Dvmwgfx_surface.c1794 size_t backup_end = res->backup_offset + res->backup_size; in vmw_surface_tex_dirty_range_add()
1798 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; in vmw_surface_tex_dirty_range_add()
1799 end = min(end, backup_end) - res->backup_offset; in vmw_surface_tex_dirty_range_add()
1846 size_t backup_end = res->backup_offset + cache->mip_chain_bytes; in vmw_surface_buf_dirty_range_add()
1851 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; in vmw_surface_buf_dirty_range_add()
1852 end = min(end, backup_end) - res->backup_offset; in vmw_surface_buf_dirty_range_add()
1868 if (WARN_ON(end <= res->backup_offset || in vmw_surface_dirty_range_add()
1869 start >= res->backup_offset + res->backup_size)) in vmw_surface_dirty_range_add()
Dvmwgfx_validation.h242 unsigned long backup_offset);
Dvmwgfx_shader.c186 res->backup_offset = offset; in vmw_gb_shader_init()
267 cmd->body.offsetInBytes = res->backup_offset; in vmw_gb_shader_bind()
406 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_shader_unscrub()
Dvmwgfx_validation.c417 unsigned long backup_offset) in vmw_validation_res_switch_backup() argument
428 val->new_backup_offset = backup_offset; in vmw_validation_res_switch_backup()
Dvmwgfx_streamoutput.c110 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_streamoutput_unscrub()
Dvmwgfx_execbuf.c1715 unsigned long backup_offset) in vmw_cmd_res_switch_backup() argument
1730 backup_offset); in vmw_cmd_res_switch_backup()
1755 unsigned long backup_offset) in vmw_cmd_switch_backup() argument
1766 backup_offset); in vmw_cmd_switch_backup()
Dvmwgfx_drv.h180 unsigned long backup_offset; member
Dvmwgfx_kms.c1199 res->backup_offset = 0; in vmw_create_bo_proxy()