vmw_validation_res_validate(9)
Okay bestie, welcome to the vmw_validation_res_validate(9) page β yes, thatβs the Kernel API Manual energy β¨
π NAME π
vmw_validation_res_validate β validate all resources registered with the validation context. Like, all of them, no cap.
β¨ SYNOPSIS β¨
int vmw_validation_res_validate (struct vmw_validation_context *ctx ,
bool intr );
π«Ά ARGUMENTS π«Ά
ctxβ the validation context. Thatβs the main character here.intrβ whether to perform waits interruptible if possible. So if itβs possible, the waits get the interruptible treatment π
πΈ DESCRIPTION πΈ
Okay so hereβs the important tea: before this function is called, all resource backup buffers must have been validated. Not βmaybe,β not βlater,β not βI forgotβ β must have been validated π«Ά
This function is the one that validates all resources registered with the validation context. Itβs giving cleanup crew energy, honestly.
π RETURN π
0β zero on success, iconic behavior β¨-ERESTARTSYSβ if interrupted π- a negative error code β on failure, which is never the vibe
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_validation.c β thatβs the home base π
And the whole friend group is: 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_drop_ht(9), vmw_validation_unref_lists(9), vmw_validation_prepare(9), vmw_validation_revert(9), vmw_validation_done(9), vmw_validation_preload_bo(9), vmw_validation_preload_res(9), vmw_validation_bo_backoff(9). Slay π
Signing off from ./drivers/gpu/drm/vmwgfx, dated October 2026 β this was vmw_validation_res_validate(9), mwah ππ
π¦ 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