vmw_resource_unreserve(9)
π NAME π
okay so bestie, this is vmw_resource_unreserve(9) from the Kernel API Manual β it unreserves a resource that was previously reserved for command submission. literally that's the whole name, no cap. π«Ά
β¨ SYNOPSIS β¨
void vmw_resource_unreserve (struct vmw_resource *res , bool dirty_set , bool dirty , bool switch_guest_memory , struct vmw_bo *new_guest_memory_bo , unsigned long new_guest_memory_offset );
that signature is giving "long but iconic" π
π ARGUMENTS π
resβ pointer to thestruct vmw_resourceyou're gonna unreserve. main character energy.dirty_setβ change the dirty status of the resource. yes ma'am.dirtyβ when you're changing dirty status, this indicates the new status. noted β¨switch_guest_memoryβ the guest memory buffer has been switched. slay.new_guest_memory_boβ pointer to the new guest memory buffer if command submission switched. it may beNULL. π«Άnew_guest_memory_offsetβ the new gbo offset ifswitch_guest_memoryis true. periodt.
π¦ DESCRIPTION π¦
currently, unreserving a resource means putting it back on the device's resource lru list, so that it can be evicted if necessary. lowkey simple, highkey the whole vibe rn. π
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c β go read the source, bestie π
vmw_resource_mob_attach(9)vmw_resource_mob_detach(9)vmw_resource_release_id(9)vmw_resource_alloc_id(9)vmw_resource_init(9)vmw_user_resource_lookup_handle(9)vmw_resource_buf_alloc(9)vmw_resource_do_validate(9)vmw_resource_check_buffer(9)vmw_resource_backoff_reservation(9)vmw_resource_do_evict(9)vmw_resource_validate(9)vmw_resource_unbind_list(9)vmw_query_readback_all(9)vmw_query_move_notify(9)vmw_resource_needs_backup(9)vmw_resource_evict_type(9)vmw_resource_evict_all(9)vmw_resource_unpin(9)vmw_res_type(9)vmw_resource_dirty_update(9)vmw_resources_clean(9)
kisses! source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms