vmw_cmd_res_switch_backup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vmw_cmd_res_switch_backup(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for vmw_cmd_res_switch_backup(9) β€” yes, that is a whole lot of letters, but we're gonna get through it together 🫢✨


✨ NAME ✨

vmw_cmd_res_switch_backup β€” utility function to handle backup buffer switching πŸŽ€


🌸 SYNOPSIS 🌸

int vmw_cmd_res_switch_backup (struct vmw_private *dev_priv , struct
       vmw_sw_context *sw_context , struct vmw_resource *res , uint32_t *buf_id
       , unsigned long backup_offset );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev_priv β€” pointer to a device private struct πŸ’œ
  • sw_context β€” the software context being used for this batch ✨
  • res β€” pointer to the resource πŸŽ€
  • buf_id β€” pointer to the user-space backup buffer handle in the command stream πŸ‘‘
  • backup_offset β€” offset of backup into MOB 🌈

πŸ’… DESCRIPTION πŸ’…

okay so what this function is doing is preparing for registering a switch of backup buffers in the resource metadata, and it does that just prior to unreserving. literally right before, bestie 😭

and yeah, it's basically a wrapper around vmw_cmd_res_switch_backup with a different interface β€” that's the whole vibe πŸ’«


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c β€” and here's the whole squad, no cap:


bye bestie πŸ’– this was vmw_cmd_res_switch_backup(9) from source/version ./drivers/gpu/drm/vmwgfx, dated October 2026 πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from