Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_dpll.c vlv_force_pll_on() -> intel_crtc_destroy_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 0,4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->active 0
PARAM_VALUE 1 state->background_color 18446462598732840960
PARAM_VALUE 1 state->commit 0
PARAM_VALUE 1 state->crtc 4096-ptr_max
PARAM_VALUE 1 state->ctm 0
PARAM_VALUE 1 state->enable 0
PARAM_VALUE 1 state->event 0
PARAM_VALUE 1 state->state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &display->pps.mutex

drivers/gpu/drm/i915/display/intel_cursor.c intel_legacy_cursor_update() -> intel_crtc_destroy_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
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/i915/display/intel_display.c intel_encoder_current_mode() -> intel_crtc_destroy_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 0,4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->active 0
PARAM_VALUE 1 state->background_color 18446462598732840960
PARAM_VALUE 1 state->commit 0
PARAM_VALUE 1 state->crtc 4096-ptr_max
PARAM_VALUE 1 state->ctm 0
PARAM_VALUE 1 state->enable 0
PARAM_VALUE 1 state->event 0
PARAM_VALUE 1 state->state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/display/intel_display.c intel_encoder_current_mode() -> intel_crtc_destroy_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 0,4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->active 0
PARAM_VALUE 1 state->background_color 18446462598732840960
PARAM_VALUE 1 state->commit 0
PARAM_VALUE 1 state->crtc 4096-ptr_max
PARAM_VALUE 1 state->ctm 0
PARAM_VALUE 1 state->enable 0
PARAM_VALUE 1 state->event 0
PARAM_VALUE 1 state->state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/display/intel_modeset_verify.c verify_crtc_state() -> intel_crtc_destroy_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 1 state 4096-ptr_max
PARAM_VALUE 1 state->active 0
PARAM_VALUE 1 state->background_color 18446462598732840960
PARAM_VALUE 1 state->commit 0
PARAM_VALUE 1 state->crtc 4096-ptr_max
PARAM_VALUE 1 state->ctm 0
PARAM_VALUE 1 state->enable 0
PARAM_VALUE 1 state->event 0
PARAM_VALUE 1 state->state 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/display/intel_crtc.c intel_crtc_free() -> intel_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 4096-ptr_max
PARAM_VALUE 1 state->active 0
PARAM_VALUE 1 state->active_changed 0
PARAM_VALUE 1 state->adjusted_mode.clock 0
PARAM_VALUE 1 state->adjusted_mode.flags 0
PARAM_VALUE 1 state->adjusted_mode.hskew 0
PARAM_VALUE 1 state->adjusted_mode.htotal 0
PARAM_VALUE 1 state->adjusted_mode.status 0
PARAM_VALUE 1 state->adjusted_mode.type 0
PARAM_VALUE 1 state->adjusted_mode.vscan 0
PARAM_VALUE 1 state->adjusted_mode.vtotal 0
PARAM_VALUE 1 state->async_flip 0
PARAM_VALUE 1 state->background_color 18446462598732840960
PARAM_VALUE 1 state->color_mgmt_changed 0
PARAM_VALUE 1 state->commit 0
PARAM_VALUE 1 state->connector_mask 0
PARAM_VALUE 1 state->connectors_changed 0
PARAM_VALUE 1 state->crtc 0,4096-ptr_max
PARAM_VALUE 1 state->ctm 0
PARAM_VALUE 1 state->degamma_lut 0
PARAM_VALUE 1 state->enable 0
PARAM_VALUE 1 state->encoder_mask 0
PARAM_VALUE 1 state->event 0
PARAM_VALUE 1 state->gamma_lut 0
PARAM_VALUE 1 state->mode.clock 0
PARAM_VALUE 1 state->mode.crtc_clock 0
PARAM_VALUE 1 state->mode.crtc_hblank_end 0
PARAM_VALUE 1 state->mode.crtc_hdisplay 0
PARAM_VALUE 1 state->mode.crtc_hskew 0
PARAM_VALUE 1 state->mode.crtc_hsync_end 0
PARAM_VALUE 1 state->mode.crtc_hsync_start 0
PARAM_VALUE 1 state->mode.crtc_htotal 0
PARAM_VALUE 1 state->mode.crtc_vblank_end 0
PARAM_VALUE 1 state->mode.crtc_vdisplay 0
PARAM_VALUE 1 state->mode.crtc_vsync_end 0
PARAM_VALUE 1 state->mode.crtc_vsync_start 0
PARAM_VALUE 1 state->mode.crtc_vtotal 0
PARAM_VALUE 1 state->mode.flags 0
PARAM_VALUE 1 state->mode.hdisplay 0
PARAM_VALUE 1 state->mode.head.next 0
PARAM_VALUE 1 state->mode.head.prev 0
PARAM_VALUE 1 state->mode.height_mm 0
PARAM_VALUE 1 state->mode.hskew 0
PARAM_VALUE 1 state->mode.hsync_end 0
PARAM_VALUE 1 state->mode.hsync_start 0
PARAM_VALUE 1 state->mode.htotal 0
PARAM_VALUE 1 state->mode.status 0
PARAM_VALUE 1 state->mode.type 0
PARAM_VALUE 1 state->mode.vdisplay 0
PARAM_VALUE 1 state->mode.vscan 0
PARAM_VALUE 1 state->mode.vsync_end 0
PARAM_VALUE 1 state->mode.vsync_start 0
PARAM_VALUE 1 state->mode.vtotal 0
PARAM_VALUE 1 state->mode.width_mm 0
PARAM_VALUE 1 state->mode_blob 0
PARAM_VALUE 1 state->mode_changed 0
PARAM_VALUE 1 state->no_vblank 0
PARAM_VALUE 1 state->plane_mask 0
PARAM_VALUE 1 state->planes_changed 0
PARAM_VALUE 1 state->scaling_filter 0
PARAM_VALUE 1 state->self_refresh_active 0
PARAM_VALUE 1 state->sharpness_strength 0
PARAM_VALUE 1 state->state 0
PARAM_VALUE 1 state->target_vblank 0
PARAM_VALUE 1 state->vrr_enabled 0
PARAM_VALUE 1 state->zpos_changed 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

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