vmw_collect_dirty_view_ids(9)
β¨ vmw_collect_dirty_view_ids(9) β¨
okay so this page is straight out of the Kernel API Manual, and it's all about vmw_collect_dirty_view_ids β the function that builds view id data for a view binding command. bestie, it's giving kernel-internals realness π
.
π NAME π
vmw_collect_dirty_view_ids β Build view id data for a view binding command.
π οΈ SYNOPSIS π οΈ
void vmw_collect_dirty_view_ids (struct vmw_ctx_binding_state *cbs , const struct vmw_ctx_bindinfo *bi , unsigned long *dirty , u32 max_num );
π ARGUMENTS π
cbsβ Pointer to the context'sstruct vmw_ctx_binding_state. π«Άbiβ Pointer to where the binding info array is stored incbs.dirtyβ Bitmap indicating which bindings need to be emitted. β¨max_numβ Maximum number of entries in thebiarray.
πΈ DESCRIPTION πΈ
okay so vmw_collect_dirty_view_ids scans the bi array for bindings that need to be emitted, then builds a buffer of view id data. on output, cbs->bind_cmd_count contains the number of bindings to be emitted, cbs->bind_first_slot indicates the index of the first emitted binding, and cbs->bind_cmd_buffer contains the command data. lowkey iconic that it does all that in one go π
.
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_binding.c.
the whole cross-ref crew:
struct vmw_ctx_binding_state(9)struct vmw_binding_info(9)vmw_cbs_context(9)vmw_binding_loc(9)vmw_binding_drop(9)vmw_binding_add(9)vmw_binding_cb_offset_update(9)vmw_binding_add_uav_index(9)vmw_binding_transfer(9)vmw_binding_state_kill(9)vmw_binding_state_scrub(9)vmw_binding_res_list_kill(9)vmw_binding_res_list_scrub(9)vmw_binding_state_commit(9)vmw_binding_rebind_all(9)vmw_binding_scrub_shader(9)vmw_binding_scrub_render_target(9)vmw_binding_scrub_texture(9)vmw_binding_scrub_dx_shader(9)vmw_binding_scrub_cb(9)vmw_collect_view_ids(9)vmw_emit_set_sr(9)vmw_emit_set_rt(9)vmw_collect_so_targets(9)vmw_emit_set_so_target(9)vmw_binding_emit_dirty_ps(9)vmw_collect_dirty_vbs(9)vmw_emit_set_vb(9)vmw_binding_emit_dirty(9)vmw_binding_scrub_sr(9)vmw_binding_scrub_dx_rt(9)vmw_binding_scrub_so_target(9)vmw_binding_scrub_vb(9)vmw_binding_scrub_ib(9)vmw_binding_scrub_so(9)vmw_binding_state_alloc(9)vmw_binding_state_free(9)vmw_binding_state_list(9)vmw_binding_state_reset(9)vmw_binding_dirtying(9)
peace out bestie π β this page's source/version situation is ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's vmw_collect_dirty_view_ids(9). 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