vmw_validation_done(9)
π vmw_validation_done β the Kernel API Manual glow-up β¨
okay so bestie, picture this: it's vmw_validation_done(9), from the Kernel API Manual, and she is literally the "commit it, it's done" girlie of the vmwgfx validation saga π. Say hi to the function that wraps up all your validation actions after your command submission actually succeeded β no cap, she's the closing credits.
πΈ SYNOPSIS πΈ
void vmw_validation_done (struct vmw_validation_context *ctx , struct
vmw_fence_obj *fence );
it's giving "two params, zero drama" β¨
π«Ά ARGUMENTS π«Ά
ctxβ the validation context, aka the main character of this whole operation πfenceβ the fence you use to fence all the buffer objects that took part in the command submission. every single one, bestie, no stragglers π₯
π DESCRIPTION π
here's the tea, and it's genuinely the best news ever: the caller does NOT need to unref resources after calling this function. like, at all. she handles it. you're free π¦ periodt.
β¨ SEE ALSO β¨
so there's a whole friend group here and honestly they're all iconic π:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_validation.c struct vmw_validation_bo_node(9)struct vmw_validation_res_node(9)vmw_validation_mem_alloc(9)vmw_validation_mem_free(9)vmw_validation_find_bo_dup(9)vmw_validation_find_res_dup(9)vmw_validation_add_bo(9)vmw_validation_add_resource(9)vmw_validation_res_set_dirty(9)vmw_validation_res_switch_backup(9)vmw_validation_res_reserve(9)vmw_validation_res_unreserve(9)vmw_validation_bo_validate_single(9)vmw_validation_bo_validate(9)vmw_validation_res_validate(9)vmw_validation_drop_ht(9)vmw_validation_unref_lists(9)vmw_validation_prepare(9)vmw_validation_revert(9)vmw_validation_preload_bo(9)vmw_validation_preload_res(9)vmw_validation_bo_backoff(9)
π reminder for the girlies in the back: read the SEE ALSO list, it's literally the whole squad. iykyk.
and that's the page, bestie π β brought to you straight out of ./drivers/gpu/drm/vmwgfx in October 2026 (yes, the date is giving time traveler π«). mwah, go commit your validation actions ππΈπ
π¦ 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