vmw_resource_unreserve(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the struct vmw_resource you'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 be NULL. 🫢
  • new_guest_memory_offset β€” the new gbo offset if switch_guest_memory is 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 πŸ“–


kisses! source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 πŸ’œβœ¨

πŸ“¦ where this page comes from