Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/tests/drm_atomic_commit_test.c, line 97
- drivers/gpu/drm/tests/drm_atomic_test.c, line 62
- drivers/gpu/drm/tests/drm_bridge_test.c
- drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c, line 263
- drivers/gpu/drm/tests/drm_kunit_helpers.c, line 274
Smatch caller information:
drivers/gpu/drm/tests/drm_atomic_test.c create_device() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 1023932394677329920 |
| PARAM_VALUE | 0 | test->last_seen.line | 206 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm | 0-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 2 | primary->helper_private->atomic_check | 0 |
| PARAM_VALUE | 2 | primary->helper_private->atomic_disable | 0 |
| PARAM_VALUE | 2 | primary->helper_private->atomic_enable | 0 |
| PARAM_VALUE | 2 | primary->helper_private->atomic_update | 0 |
| PARAM_VALUE | 2 | primary->helper_private->begin_fb_access | 0 |
| PARAM_VALUE | 2 | primary->helper_private->cleanup_fb | 0 |
| PARAM_VALUE | 2 | primary->helper_private->end_fb_access | 0 |
| PARAM_VALUE | 2 | primary->helper_private->panic_flush | 0 |
| PARAM_VALUE | 2 | primary->helper_private->prepare_fb | 0 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c __connector_hdmi_init() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 7096117268152008704 |
| PARAM_VALUE | 0 | test->last_seen.line | 261 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | drm | 1-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 0 | test->last_seen.file | 51 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
| STR_LEN | 0 | test->last_seen.file | 50 |
drivers/gpu/drm/tests/drm_bridge_test.c drm_test_bridge_chain_init() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 1023932394677329920 |
| PARAM_VALUE | 0 | test->last_seen.line | 206 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
drivers/gpu/drm/tests/drm_bridge_test.c drm_test_bridge_hdmi_init() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 1023932394677329920 |
| PARAM_VALUE | 0 | test->last_seen.line | 206 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
drivers/gpu/drm/tests/drm_bridge_test.c drm_test_bridge_init() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 1023932394677329920 |
| PARAM_VALUE | 0 | test->last_seen.line | 206 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
drivers/gpu/drm/tests/drm_atomic_commit_test.c drm_atomic_test_init_drm_components() -> drm_kunit_helper_create_crtc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 5075923579810455552 |
| PARAM_VALUE | 0 | test->last_seen.line | 95 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | test->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | drm | 1-ptr_max |
| PARAM_VALUE | 1 | drm->dev->dma_mem->pfn_base | 0-4503599627370495 |
| PARAM_VALUE | 1 | drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.num_total_plane | s32min-32 |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.plane_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | primary | 4096-ptr_max |
| PARAM_VALUE | 2 | primary->helper_private | 2627838258153869312 |
| PARAM_VALUE | 3 | cursor | 0 |
| PARAM_VALUE | 4 | funcs | 0 |
| PARAM_VALUE | 5 | helper_funcs | 0 |
| BUF_SIZE | 0 | test->last_seen.file | 47 |
| BUF_SIZE | 1 | drm | 3696 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 2 | primary | r drm_kunit_helper_create_primary_plane |
| STR_LEN | 0 | test->last_seen.file | 46 |