Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_destroy_state_no_stream() -> amdgpu_dm_crtc_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 0 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_destroy_state_releases_stream() -> amdgpu_dm_crtc_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 0 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_duplicate_state_copies_fields() -> amdgpu_dm_crtc_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-u64max |
| BUF_SIZE | 0 | crtc | 2048 |
| BUF_SIZE | 0 | crtc->state | 352 |
| DATA_SOURCE | 0 | crtc | r kunit_kzalloc |
| DATA_SOURCE | 1 | state | r amdgpu_dm_crtc_duplicate_state |
| MEM_ZERO | 0 | crtc | |
| MEM_ZERO | 0 | crtc->state | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_reset_state_allocates_state() -> amdgpu_dm_crtc_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| BUF_SIZE | 0 | crtc | 2048 |
| BUF_SIZE | 0 | crtc->dev | 3696 |
| BUF_SIZE | 1 | state | 0 |
| DATA_SOURCE | 0 | crtc | r kunit_kzalloc |
| BIT_INFO | 1 | state | 0x0,0x0 |
| MEM_ZERO | 0 | crtc | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_reset_state() -> amdgpu_dm_crtc_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 0,3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/drm_atomic.c drm_atomic_commit_default_clear() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->master_mutex | ||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &fb_helper->client.modeset_mutex | ||
| HALF_LOCKED2 | &fb_helper->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/mgag200/mgag200_mode.c mgag200_crtc_reset() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 0,3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| NOCHECK_CALL |
drivers/gpu/drm/ast/ast_mode.c ast_crtc_reset() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 0,3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| NOCHECK_CALL |
drivers/gpu/drm/loongson/lsdc_crtc.c lsdc_crtc_reset() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 0,3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| NOCHECK_CALL |
drivers/gpu/drm/drm_mode_config.c drm_mode_config_crtc_reset_with_create_state() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0 |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| NOCHECK_CALL |
drivers/gpu/drm/drm_crtc.c drm_crtc_cleanup() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->base.id | 0 |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | crtc->dev->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | crtc->dev->mode_config.idr_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | crtc->dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_destroy_state | 1-u64max |
| PARAM_VALUE | 0 | crtc->gamma_store | 0 |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| BUF_SIZE | 0 | crtc | (-1),2048 |
| BUF_SIZE | 0 | crtc | (-1),2048 |
| CAPPED_DATA | 0 | crtc->crc.source | 1 |
| DATA_SOURCE | 0 | crtc | $0 |
| STR_LEN | 0 | crtc | (-1),28 |
| STR_LEN | 0 | crtc | (-1),28 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | crtc->dev->num_crtcs | |
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/drm_atomic_state_helper.c drm_atomic_helper_crtc_reset() -> (struct drm_crtc_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->funcs->atomic_create_state | 0,3191936761289404416 |
| PARAM_VALUE | 0 | crtc->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | crtc->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | crtc | $0 |
| CONTAINER | 0 | -96-536+0 | $(-1) |
| CONTAINER | 1 | *(-96-536+1616) | $(-1) |
| NOCHECK_CALL |