STRUCT VMW_VALIDATION_BO_NODE(9)
π
struct vmw_validation_bo_node(9) β buffer object validation metadata, bestie π
okay so this is the Kernel API Manual page for struct vmw_validation_bo_node(9), and it's literally all about buffer object validation metadata. slay. π
β¨ NAME β¨
struct vmw_validation_bo_node β Buffer object validation metadata.
π¦ SYNOPSIS π¦
struct vmw_validation_bo_node {
struct ttm_validate_buffer base;
struct vmwgfx_hash_item hash;
unsigned int coherent_count;
};
πΈ Members πΈ
baseβ Metadata used for TTM reservation- and validation. π«Άhashβ A hash entry used for the duplicate detection hash table. πcoherent_countβ If switching backup buffers, number of new coherent resources that will have this buffer as a backup buffer. π«
π Description π
okay so the vibe here is space conservation, no cap: bit fields are used since these structures are allocated and freed in large numbers and space conservation is desired. every byte is lowkey iconic. π β¨
π₯ SEE ALSO π₯
go give these besties a look too β starting with the kernel file:
- Kernel file:
./drivers/gpu/drm/vmwgfx/vmwgfx_validation.cπ 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_done(9)vmw_validation_preload_bo(9)vmw_validation_preload_res(9)vmw_validation_bo_backoff(9)
mwah π β this page lives under ./drivers/gpu/drm/vmwgfx, and it's dated October 2026. periodt. πβ¨
π¦ 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