vmw_validati...es_set_dirty(9)
β¨ vmw_validation_res_set_dirty(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this one's a little function called vmw_validation_res_set_dirty, and no cap, it does exactly one job and it does it iconically.
π NAME π
vmw_validation_res_set_dirty β register a resource dirty set or clear during validation π
πΈ SYNOPSIS πΈ
void vmw_validation_res_set_dirty (struct vmw_validation_context *ctx ,
void *val_private , u32 dirty );
literally that's the whole signature, she's not complicated π¦
β ARGUMENTS β
ctxβ the validation context. that's the main character right there πval_privateβ the additional meta-data pointer you got back when the resource was registered with the validation context. it's how you identify which resource you're talking about, iykyk π₯dirtyβ the dirty information,VMW_RES_DIRTY_XX. that's the vibe check on whether we're setting or clearing, bestie β¨
π SEE ALSO π
the whole friend group, fr fr β starting with the 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_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_done(9)vmw_validation_preload_bo(9)vmw_validation_preload_res(9)vmw_validation_bo_backoff(9)
like, go read them too, they're all serving π
π reminder bestie:dirtytakesVMW_RES_DIRTY_XXvalues β don't just make up numbers, ok? π
and that's the page! π this little gem lives in ./drivers/gpu/drm/vmwgfx, and this edition dates back to October 2026 β so if you're reading it, mwah, ily, go validate some resources π§πβ¨
π¦ 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