Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c, line 1783
- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c, line 1114
- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c, line 742
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_kms_sou_do_surface_dirty() -> vmw_validation_add_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 7585702269307932672 |
| PARAM_VALUE | 0 | ctx->bo_list.next | 7585702269307932712 |
| PARAM_VALUE | 0 | ctx->bo_list.prev | 7585702269307932712 |
| PARAM_VALUE | 0 | ctx->mem_size_left | 0 |
| PARAM_VALUE | 0 | ctx->merge_dups | 0 |
| PARAM_VALUE | 0 | ctx->page_address | 0 |
| PARAM_VALUE | 0 | ctx->page_list.next | 7585702269307932728 |
| PARAM_VALUE | 0 | ctx->page_list.prev | 7585702269307932728 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.next | 7585702269307932696 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.prev | 7585702269307932696 |
| PARAM_VALUE | 0 | ctx->resource_list.next | 7585702269307932680 |
| PARAM_VALUE | 0 | ctx->resource_list.prev | 7585702269307932680 |
| PARAM_VALUE | 0 | ctx->sw_context | 0 |
| PARAM_VALUE | 2 | priv_size | 0 |
| PARAM_VALUE | 3 | dirty | 0 |
| PARAM_VALUE | 4 | p_node | 0 |
| PARAM_VALUE | 5 | first_usage | 0 |
| BUF_SIZE | 1 | res | (-1),152 |
| BUF_SIZE | 1 | res | (-1),152 |
| DATA_SOURCE | 1 | res | $4 [m] |
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_kms_stdu_surface_dirty() -> vmw_validation_add_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2077809383998148608 |
| PARAM_VALUE | 0 | ctx->bo_list.next | 2077809383998148648 |
| PARAM_VALUE | 0 | ctx->bo_list.prev | 2077809383998148648 |
| PARAM_VALUE | 0 | ctx->mem_size_left | 0 |
| PARAM_VALUE | 0 | ctx->merge_dups | 0 |
| PARAM_VALUE | 0 | ctx->page_address | 0 |
| PARAM_VALUE | 0 | ctx->page_list.next | 2077809383998148664 |
| PARAM_VALUE | 0 | ctx->page_list.prev | 2077809383998148664 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.next | 2077809383998148632 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.prev | 2077809383998148632 |
| PARAM_VALUE | 0 | ctx->resource_list.next | 2077809383998148616 |
| PARAM_VALUE | 0 | ctx->resource_list.prev | 2077809383998148616 |
| PARAM_VALUE | 0 | ctx->sw_context | 0 |
| PARAM_VALUE | 2 | priv_size | 0 |
| PARAM_VALUE | 3 | dirty | 0 |
| PARAM_VALUE | 4 | p_node | 0 |
| PARAM_VALUE | 5 | first_usage | 0 |
| BUF_SIZE | 1 | res | (-1),152 |
| BUF_SIZE | 1 | res | (-1),152 |
| DATA_SOURCE | 1 | res | $4 [m] |
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_res_val_add() -> vmw_validation_add_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->merge_dups | 0-1 |
| PARAM_VALUE | 0 | ctx->page_address | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->func | 4096-ptr_max |
| PARAM_VALUE | 2 | priv_size | 0 |
| PARAM_VALUE | 4 | p_node | 993124494818344960 |
| PARAM_VALUE | 5 | first_usage | 0 |
| BUF_SIZE | 0 | ctx | (-1),248 |
| BUF_SIZE | 0 | ctx | (-1),248 |
| DATA_SOURCE | 1 | res | $1 |
| DATA_SOURCE | 3 | dirty | $2 |
| HALF_LOCKED2 | &dev_priv->binding_mutex | ||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_res_val_add() -> vmw_validation_add_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->merge_dups | 0-1 |
| PARAM_VALUE | 0 | ctx->page_address | 0,4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->func | 4096-ptr_max |
| PARAM_VALUE | 2 | priv_size | 0,40 |
| PARAM_VALUE | 4 | p_node | 993124494818344960 |
| PARAM_VALUE | 5 | first_usage | 3024291799438626816 |
| BUF_SIZE | 0 | ctx | (-1),248 |
| BUF_SIZE | 0 | ctx | (-1),248 |
| DATA_SOURCE | 1 | res | $1 |
| DATA_SOURCE | 2 | priv_size | r vmw_execbuf_res_size |
| DATA_SOURCE | 3 | dirty | $2 |
| HALF_LOCKED2 | &dev_priv->binding_mutex | ||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_du_helper_plane_update() -> vmw_validation_add_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 940911487080480768 |
| PARAM_VALUE | 0 | ctx->bo_list.next | 940911487080480808 |
| PARAM_VALUE | 0 | ctx->bo_list.prev | 940911487080480808 |
| PARAM_VALUE | 0 | ctx->mem_size_left | 0 |
| PARAM_VALUE | 0 | ctx->merge_dups | 0 |
| PARAM_VALUE | 0 | ctx->page_address | 0 |
| PARAM_VALUE | 0 | ctx->page_list.next | 940911487080480824 |
| PARAM_VALUE | 0 | ctx->page_list.prev | 940911487080480824 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.next | 940911487080480792 |
| PARAM_VALUE | 0 | ctx->resource_ctx_list.prev | 940911487080480792 |
| PARAM_VALUE | 0 | ctx->resource_list.next | 940911487080480776 |
| PARAM_VALUE | 0 | ctx->resource_list.prev | 940911487080480776 |
| PARAM_VALUE | 0 | ctx->sw_context | 0 |
| PARAM_VALUE | 2 | priv_size | 0 |
| PARAM_VALUE | 3 | dirty | 0 |
| PARAM_VALUE | 4 | p_node | 0 |
| PARAM_VALUE | 5 | first_usage | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |