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/i915/display/i9xx_plane.c
- drivers/gpu/drm/i915/display/intel_cursor.c
- drivers/gpu/drm/i915/display/intel_plane.c, line 100
- drivers/gpu/drm/i915/display/intel_sprite.c
- drivers/gpu/drm/i915/display/skl_universal_plane.c
Smatch caller information:
drivers/gpu/drm/i915/display/intel_plane.c intel_plane_free() -> intel_plane_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->base.id | 0 |
| PARAM_VALUE | 0 | plane->base.properties | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->base.type | 4008636142 |
| PARAM_VALUE | 0 | plane->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->format_types | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->modifiers | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | plane->name | 0 |
| PARAM_VALUE | 0 | plane->state | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->alpha | u16max |
| PARAM_VALUE | 1 | state->color_mgmt_changed | 0 |
| PARAM_VALUE | 1 | state->color_pipeline | 0 |
| PARAM_VALUE | 1 | state->commit | 0 |
| PARAM_VALUE | 1 | state->crtc | 0 |
| PARAM_VALUE | 1 | state->crtc_h | 0 |
| PARAM_VALUE | 1 | state->crtc_w | 0 |
| PARAM_VALUE | 1 | state->crtc_x | 0 |
| PARAM_VALUE | 1 | state->crtc_y | 0 |
| PARAM_VALUE | 1 | state->dst.x1 | 0 |
| PARAM_VALUE | 1 | state->dst.x2 | 0 |
| PARAM_VALUE | 1 | state->dst.y1 | 0 |
| PARAM_VALUE | 1 | state->dst.y2 | 0 |
| PARAM_VALUE | 1 | state->fb | 0 |
| PARAM_VALUE | 1 | state->fb_damage_clips | 0 |
| PARAM_VALUE | 1 | state->fence | 0 |
| PARAM_VALUE | 1 | state->ignore_damage_clips | 0 |
| PARAM_VALUE | 1 | state->pixel_blend_mode | 0 |
| PARAM_VALUE | 1 | state->plane | 4096-ptr_max |
| PARAM_VALUE | 1 | state->scaling_filter | 0 |
| PARAM_VALUE | 1 | state->src.x1 | 0 |
| PARAM_VALUE | 1 | state->src.x2 | 0 |
| PARAM_VALUE | 1 | state->src.y1 | 0 |
| PARAM_VALUE | 1 | state->src.y2 | 0 |
| PARAM_VALUE | 1 | state->src_h | 0 |
| PARAM_VALUE | 1 | state->src_w | 0 |
| PARAM_VALUE | 1 | state->src_x | 0 |
| PARAM_VALUE | 1 | state->src_y | 0 |
| PARAM_VALUE | 1 | state->state | 0 |
| PARAM_VALUE | 1 | state->visible | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count |
drivers/gpu/drm/i915/display/intel_cursor.c intel_cursor_unpin_work() -> intel_plane_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->plane | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_cursor.c intel_legacy_cursor_update() -> intel_plane_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->crtc_x | s32min-s32max[c] |
| USER_DATA | 1 | state->crtc_y | s32min-s32max[c] |
| USER_DATA | 1 | state->src_x | 0-u32max[c] |
| USER_DATA | 1 | state->src_y | 0-u32max[c] |
| HALF_LOCKED2 | &_crtc->cursor->mutex | ||
| HALF_LOCKED2 | &_crtc->mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.mutex |
drivers/gpu/drm/i915/display/intel_cursor.c intel_legacy_cursor_update() -> intel_plane_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->commit | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state->crtc | 4096-ptr_max |
| PARAM_VALUE | 1 | state->crtc_h | 0-s32max |
| PARAM_VALUE | 1 | state->crtc_w | 0-s32max |
| PARAM_VALUE | 1 | state->plane | 4096-ptr_max |
| PARAM_VALUE | 1 | state->src_h | 0-4294901760 |
| PARAM_VALUE | 1 | state->src_w | 0-4294901760 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_crtc->cursor->mutex | ||
| HALF_LOCKED2 | &_crtc->mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.mutex |
drivers/gpu/drm/drm_atomic.c drm_atomic_commit_default_clear() -> (struct drm_plane_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| CONTAINER | 0 | -56-312+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/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_drm_plane_reset() -> (struct drm_plane_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_create_state | 0,1741986359924551680 |
| PARAM_VALUE | 0 | plane->funcs->atomic_destroy_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_duplicate_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_get_property | 0,2074060281619644416,8270784004941418496,9050773792164933632 |
| PARAM_VALUE | 0 | plane->funcs->atomic_print_state | 0,2690278243714678784,4219969635454787584,7013021942599233536,7359561269884841984,7395024169528725504,9027354897200578560 |
| PARAM_VALUE | 0 | plane->funcs->atomic_set_property | 0,3433292535875563520,3867034966720561152,7441743090200174592 |
| PARAM_VALUE | 0 | plane->funcs->destroy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->disable_plane | 0,1825121351257219072,4612742892608802816,5173009605805596672,5905265811237928960 |
| PARAM_VALUE | 0 | plane->funcs->early_unregister | 0 |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported_async | 0,3993290856288063488,4252743379418775552 |
| PARAM_VALUE | 0 | plane->funcs->late_register | 0,2138568529968353280,7802016378741813248,7854632669003300864 |
| PARAM_VALUE | 0 | plane->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->set_property | 0,583134136402280448,8960462897583161344 |
| PARAM_VALUE | 0 | plane->funcs->update_plane | 0,989755879342993408,3174827564765413376,3848331178012450816,4055942768770543616,8155402964957179904 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_disable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_enable | 0,3552822283354492928,3967179263382396928,4344157237591973888,8251704464090431488,8454679932463742976 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->begin_fb_access | 0,822759025808961536,1708037898778968064,2920118721085980672,3473897381366775808 |
| PARAM_VALUE | 0 | plane->helper_private->cleanup_fb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->end_fb_access | 0,1748978392000933888,2756388228415442944 |
| PARAM_VALUE | 0 | plane->helper_private->get_scanout_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->panic_flush | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->prepare_fb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| BUF_SIZE | 0 | plane | (-1),1488 |
| BUF_SIZE | 0 | plane | (-1),1488 |
| BUF_SIZE | 0 | plane->funcs | (-1),120 |
| BUF_SIZE | 0 | plane->state | (-1),184 |
| BUF_SIZE | 1 | state | (-1),184 |
| BUF_SIZE | 1 | state | (-1),184 |
| DATA_SOURCE | 0 | plane | $0 |
| CONTAINER | 0 | -56-312+0 | $(-1) |
| CONTAINER | 1 | *(-56-312+1368) | $(-1) |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane->color_pipeline_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count |
drivers/gpu/drm/drm_mode_config.c drm_mode_config_plane_reset_with_create_state() -> (struct drm_plane_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_create_state | 1741986359924551680 |
| PARAM_VALUE | 0 | plane->funcs->reset | 0 |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| DATA_SOURCE | 0 | plane | $0 |
| CONTAINER | 0 | -56-312+0 | $(-1) |
| CONTAINER | 1 | *(-56-312+1368) | $(-1) |
| NOCHECK_CALL |
drivers/gpu/drm/drm_plane.c drm_plane_cleanup() -> (struct drm_plane_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->base.id | 0 |
| PARAM_VALUE | 0 | plane->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | plane->dev->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | plane->dev->mode_config.idr_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | plane->dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_create_state | 0,1741986359924551680 |
| PARAM_VALUE | 0 | plane->funcs->atomic_destroy_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_duplicate_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_get_property | 0,2074060281619644416,8270784004941418496,9050773792164933632 |
| PARAM_VALUE | 0 | plane->funcs->atomic_print_state | 0,2690278243714678784,4219969635454787584,7013021942599233536,7359561269884841984,7395024169528725504,9027354897200578560 |
| PARAM_VALUE | 0 | plane->funcs->atomic_set_property | 0,3433292535875563520,3867034966720561152,7441743090200174592 |
| PARAM_VALUE | 0 | plane->funcs->destroy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->disable_plane | 0,1825121351257219072,4612742892608802816,5173009605805596672,5905265811237928960 |
| PARAM_VALUE | 0 | plane->funcs->early_unregister | 0 |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported_async | 0,3993290856288063488,4252743379418775552 |
| PARAM_VALUE | 0 | plane->funcs->late_register | 0,2138568529968353280,7802016378741813248,7854632669003300864 |
| PARAM_VALUE | 0 | plane->funcs->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->set_property | 0,583134136402280448,8960462897583161344 |
| PARAM_VALUE | 0 | plane->funcs->update_plane | 0,989755879342993408,3174827564765413376,3848331178012450816,4055942768770543616,8155402964957179904 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_check | 0,411920902424965120,909293727435939840,1054258975197822976,2204804263598366720,3231160206255431680,4704200355726888960,9115748288619556864 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_update | 0,129009240919658496,632066696852795392,1810237942349058048,2785956416518189056,2984203744021778432,5768845157228617728,8644097346373849088 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_enable | 0,3552822283354492928,3967179263382396928,4344157237591973888,8251704464090431488,8454679932463742976 |
| PARAM_VALUE | 0 | plane->helper_private->begin_fb_access | 0,822759025808961536,1708037898778968064,2920118721085980672,3473897381366775808 |
| PARAM_VALUE | 0 | plane->helper_private->end_fb_access | 0,1748978392000933888,2756388228415442944 |
| PARAM_VALUE | 0 | plane->helper_private->panic_flush | 0,824444239575769088,904457174973222912,1559097384399716352,1617198478475169792,3007113064888778752,6468892575876448256,6800516066389090304 |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| BUF_SIZE | 0 | plane | (-1)-0,1488 |
| BUF_SIZE | 0 | plane | (-1)-0,1488 |
| BUF_SIZE | 0 | plane->dev | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | plane->format_types | 1 |
| CAPPED_DATA | 0 | plane->modifiers | 1 |
| CAPPED_DATA | 0 | &plane->head | 1 |
| DATA_SOURCE | 0 | plane | $0 |
| STR_LEN | 0 | plane | (-1),28 |
| STR_LEN | 0 | plane | (-1),28 |
| CONTAINER | 0 | -56-312+0 | $(-1) |
| CONTAINER | 1 | *(-56-312+1368) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->base.format_count | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count | |
| HALF_LOCKED2 | &device->clients_lock |
drivers/gpu/drm/nouveau/dispnv50/wndw.c nv50_wndw_reset() -> (struct drm_plane_funcs)->atomic_destroy_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_create_state | 0,1741986359924551680 |
| PARAM_VALUE | 0 | plane->funcs->atomic_destroy_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_duplicate_state | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->atomic_get_property | 0,2074060281619644416,8270784004941418496,9050773792164933632 |
| PARAM_VALUE | 0 | plane->funcs->atomic_print_state | 0,2690278243714678784,4219969635454787584,7013021942599233536,7359561269884841984,7395024169528725504,9027354897200578560 |
| PARAM_VALUE | 0 | plane->funcs->atomic_set_property | 0,3433292535875563520,3867034966720561152,7441743090200174592 |
| PARAM_VALUE | 0 | plane->funcs->destroy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->disable_plane | 0,1825121351257219072,4612742892608802816,5173009605805596672,5905265811237928960 |
| PARAM_VALUE | 0 | plane->funcs->early_unregister | 0 |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported_async | 0,3993290856288063488,4252743379418775552 |
| PARAM_VALUE | 0 | plane->funcs->late_register | 0,2138568529968353280,7802016378741813248,7854632669003300864 |
| PARAM_VALUE | 0 | plane->funcs->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->set_property | 0,583134136402280448,8960462897583161344 |
| PARAM_VALUE | 0 | plane->funcs->update_plane | 0,989755879342993408,3174827564765413376,3848331178012450816,4055942768770543616,8155402964957179904 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_async_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_disable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->atomic_enable | 0,3552822283354492928,3967179263382396928,4344157237591973888,8251704464090431488,8454679932463742976 |
| PARAM_VALUE | 0 | plane->helper_private->atomic_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->begin_fb_access | 0,822759025808961536,1708037898778968064,2920118721085980672,3473897381366775808 |
| PARAM_VALUE | 0 | plane->helper_private->cleanup_fb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->end_fb_access | 0,1748978392000933888,2756388228415442944 |
| PARAM_VALUE | 0 | plane->helper_private->get_scanout_buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->panic_flush | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->helper_private->prepare_fb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | plane->state | 1-u64max |
| PARAM_VALUE | 1 | state | 1-u64max |
| BUF_SIZE | 0 | plane | (-1),1488 |
| BUF_SIZE | 0 | plane | (-1),1488 |
| DATA_SOURCE | 0 | plane | $0 |
| CONTAINER | 0 | -56-312+0 | $(-1) |
| CONTAINER | 1 | *(-56-312+1368) | $(-1) |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane->color_pipeline_property->num_values | |
| NO_OVERFLOW_SIMPLE | 0 | plane->dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | plane->format_count |