ENUM VMW_RESOURCE_RELOCATION_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum vmw_resource_relocation_type(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so first of all, the manual name is enum vmw_resource_relocation_type(9) and it lives in the Kernel API Manual, which is like... the group chat of kernel docs. anyway. this page is all about telling you how a resource id in the command stream gets dealt with. three flavours of behaviour plus a sentinel. slay.


✨ NAME ✨

enum vmw_resource_relocation_type β€” the relocation type for resources, fr fr. it's giving "what do we do with this command" energy πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

enum vmw_resource_relocation_type {
    vmw_res_rel_normal ,
    vmw_res_rel_nop ,
    vmw_res_rel_cond_nop ,
    vmw_res_rel_max

};

like, that's the whole lineup. four little guys. iconic πŸ‘‘


🌸 Constants 🌸

  • vmw_res_rel_normal β€” the traditional relocation, the OG. the resource id sitting in the command stream gets swapped out for the actual id once validation is done. no notes, she just works πŸ’…
  • vmw_res_rel_nop β€” NOP relocation. the command is unconditionally replaced with a NOP. no vibes check, no asking, it's a NOP now. periodt ✨
  • vmw_res_rel_cond_nop β€” conditional NOP relocation, the main character of the three ngl. if the resource id after validation is -1, the command gets replaced with a NOP. otherwise: no action. she's picky and that's valid πŸ™ˆ
  • vmw_res_rel_max β€” the last value in the enum, and it's literally just there for error checking. not a real relocation bestie, just a boundary marker doing her little job 🫢

🧚 SEE ALSO 🧚

kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c β€” that's the home base, the address, the spot πŸ’–

and like... a whole friend group of related pages, no cap. every single one, because we don't gatekeep here:

that's a lot of reading. hydrate before you start πŸ“


ok that's the page!! πŸ’œ this one came from ./drivers/gpu/drm/vmwgfx and it's dated October 2026 β€” yes, the future, and yes she's still serving docs. go read the siblings, mwah πŸŽ€βœ¨
πŸ“¦ where this page comes from