Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c54 new = (res->backup_offset < this->backup_offset) ? in vmw_resource_mob_attach()
227 res->backup_offset = 0; in vmw_resource_init()
403 pgoff_t start = res->backup_offset >> PAGE_SHIFT; in vmw_resource_do_validate()
405 (res->backup_offset + res->backup_size, in vmw_resource_do_validate()
476 res->backup_offset = new_backup_offset; in vmw_resource_unreserve()
1082 if (cur_res->backup_offset >= res_end) { in vmw_resources_clean()
1084 } else if (cur_res->backup_offset + cur_res->backup_size <= in vmw_resources_clean()
1111 last_cleaned = found->backup_offset + found->backup_size; in vmw_resources_clean()
1117 if (found->backup_offset >= res_end) in vmw_resources_clean()
Dvmwgfx_page_dirty.c312 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_transfer_to_res()
313 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_transfer_to_res()
354 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_clear_res()
355 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_clear_res()
Dvmwgfx_surface.c1739 size_t backup_end = res->backup_offset + res->backup_size; in vmw_surface_tex_dirty_range_add()
1743 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; in vmw_surface_tex_dirty_range_add()
1744 end = min(end, backup_end) - res->backup_offset; in vmw_surface_tex_dirty_range_add()
1791 size_t backup_end = res->backup_offset + cache->mip_chain_bytes; in vmw_surface_buf_dirty_range_add()
1796 start = max_t(size_t, start, res->backup_offset) - res->backup_offset; in vmw_surface_buf_dirty_range_add()
1797 end = min(end, backup_end) - res->backup_offset; in vmw_surface_buf_dirty_range_add()
1813 if (WARN_ON(end <= res->backup_offset || in vmw_surface_dirty_range_add()
1814 start >= res->backup_offset + res->backup_size)) in vmw_surface_dirty_range_add()
Dvmwgfx_validation.h183 unsigned long backup_offset);
Dvmwgfx_shader.c181 res->backup_offset = offset; in vmw_gb_shader_init()
262 cmd->body.offsetInBytes = res->backup_offset; in vmw_gb_shader_bind()
401 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_shader_unscrub()
Dvmwgfx_validation.c414 unsigned long backup_offset) in vmw_validation_res_switch_backup() argument
425 val->new_backup_offset = backup_offset; in vmw_validation_res_switch_backup()
Dvmwgfx_streamoutput.c108 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_streamoutput_unscrub()
Dvmwgfx_execbuf.c1700 unsigned long backup_offset) in vmw_cmd_res_switch_backup() argument
1715 backup_offset); in vmw_cmd_res_switch_backup()
1740 unsigned long backup_offset) in vmw_cmd_switch_backup() argument
1751 backup_offset); in vmw_cmd_switch_backup()
Dvmwgfx_drv.h195 unsigned long backup_offset; member
Dvmwgfx_kms.c1477 res->backup_offset = 0; in vmw_create_bo_proxy()