Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/vkms/tests/vkms_config_test.c
- drivers/gpu/drm/vkms/vkms_config.c
- drivers/gpu/drm/vkms/vkms_configfs.c, line 609
Smatch caller information:
drivers/gpu/drm/vkms/vkms_configfs.c connector_possible_encoders_allow_link() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/gpu/drm/vkms/vkms_config.c vkms_config_default_create() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 1 | encoder_cfg->config | 1 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_attach_different_configs() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 1 | encoder_cfg->config | 1 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_attach_different_configs() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 1 | encoder_cfg->config | 1 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_connector_get_possible_encoders() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_connector_get_possible_encoders() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 0 | connector_cfg->config | 1 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |
drivers/gpu/drm/vkms/tests/vkms_config_test.c vkms_config_test_connector_get_possible_encoders() -> vkms_config_connector_attach_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connector_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_flags | 33554436 |
| PARAM_VALUE | 0 | connector_cfg->possible_encoders.xa_head | 0 |
| PARAM_VALUE | 0 | connector_cfg->status | 1 |
| PARAM_VALUE | 1 | encoder_cfg | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->config | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_flags | 33554436 |
| PARAM_VALUE | 1 | encoder_cfg->possible_crtcs.xa_head | 0 |
| BUF_SIZE | 0 | connector_cfg | 128 |
| BUF_SIZE | 0 | connector_cfg->config | 80 |
| BUF_SIZE | 1 | encoder_cfg | 120 |
| BUF_SIZE | 1 | encoder_cfg->config | 80 |
| CAPPED_DATA | 1 | encoder_cfg | 1 |
| CAPPED_DATA | 1 | encoder_cfg->config | 1 |
| DATA_SOURCE | 0 | connector_cfg | r vkms_config_create_connector |
| DATA_SOURCE | 1 | encoder_cfg | r vkms_config_create_encoder |