Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c dm_validate_stream_and_context() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 4096-ptr_max
PARAM_VALUE 0 plane_state->clip_rect.height 0-u16max
PARAM_VALUE 0 plane_state->clip_rect.width 0-u16max
PARAM_VALUE 0 plane_state->cm.blend_func.type 2
PARAM_VALUE 0 plane_state->cm.flags.all 0
PARAM_VALUE 0 plane_state->cm.lut3d_func.state.raw 0
PARAM_VALUE 0 plane_state->cm.shaper_func.type 2
PARAM_VALUE 0 plane_state->dst_rect.height 0-u16max
PARAM_VALUE 0 plane_state->dst_rect.width 0-u16max
PARAM_VALUE 0 plane_state->format 3
PARAM_VALUE 0 plane_state->gamma_correction.is_identity 1
PARAM_VALUE 0 plane_state->in_transfer_func.type 2
PARAM_VALUE 0 plane_state->is_tiling_rotated 0
PARAM_VALUE 0 plane_state->plane_size.chroma_size.height 0-u16max
PARAM_VALUE 0 plane_state->plane_size.chroma_size.width 0-u16max
PARAM_VALUE 0 plane_state->plane_size.surface_pitch 0-65536
PARAM_VALUE 0 plane_state->plane_size.surface_size.height 0-u16max
PARAM_VALUE 0 plane_state->plane_size.surface_size.width 0-u16max
PARAM_VALUE 0 plane_state->pre_multiplied_alpha 1
PARAM_VALUE 0 plane_state->refcount.refcount.refs.counter 1
PARAM_VALUE 0 plane_state->rotation 0
PARAM_VALUE 0 plane_state->src_rect.height 0-u16max
PARAM_VALUE 0 plane_state->src_rect.width 0-u16max
PARAM_VALUE 0 plane_state->tiling_info.gfx9.swizzle 32
BUF_SIZE 0 plane_state 343752
BUF_SIZE 0 plane_state 343752
CAPPED_DATA 0 plane_state->src_rect.height 1
CAPPED_DATA 0 plane_state->src_rect.width 1
DATA_SOURCE 0 plane_state r dc_create_plane_state
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_destroy_cached_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_plane_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 1-u64max
CAPPED_DATA 0 plane_state 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_plane_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 4096-ptr_max
PARAM_VALUE 0 plane_state->cm.blend_func.type 1-2
PARAM_VALUE 0 plane_state->cm.flags.all 0
PARAM_VALUE 0 plane_state->cm.shaper_func.type 1-2
PARAM_VALUE 0 plane_state->gamma_correction.is_identity 1
PARAM_VALUE 0 plane_state->in_transfer_func.type 0-2
PARAM_VALUE 0 plane_state->pre_multiplied_alpha 1
PARAM_VALUE 0 plane_state->refcount.refcount.refs.counter 1
BUF_SIZE 0 plane_state 343752
BUF_SIZE 0 plane_state 343752
DATA_SOURCE 0 plane_state r dc_create_plane_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_plane_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 4096-ptr_max
PARAM_VALUE 0 plane_state->address.dcc_ind_blk 0-1,3
PARAM_VALUE 0 plane_state->cm.blend_func.sdr_ref_white_level 80
PARAM_VALUE 0 plane_state->cm.blend_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_blue 1
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_green 1
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_red 1
PARAM_VALUE 0 plane_state->cm.blend_func.type 1-2
PARAM_VALUE 0 plane_state->cm.flags.all 0
PARAM_VALUE 0 plane_state->cm.lut3d_func.lut_3d.use_12bits 1
PARAM_VALUE 0 plane_state->cm.lut3d_func.state.bits.initialized 1
PARAM_VALUE 0 plane_state->cm.shaper_func.sdr_ref_white_level 80
PARAM_VALUE 0 plane_state->cm.shaper_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.end_exponent 0,4,7
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_blue 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_green 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_red 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.type 1-2
PARAM_VALUE 0 plane_state->color_space 1,5-6,9-10,13-14
PARAM_VALUE 0 plane_state->ctx 0,4096-ptr_max
PARAM_VALUE 0 plane_state->flip_int_enabled 1
PARAM_VALUE 0 plane_state->format 0,2-6,8-11,18-19,21
PARAM_VALUE 0 plane_state->gamma_correction.is_identity 1
PARAM_VALUE 0 plane_state->gamut_remap_matrix.enable_remap 1
PARAM_VALUE 0 plane_state->global_alpha_value 0-4095
PARAM_VALUE 0 plane_state->horizontal_mirror 0
PARAM_VALUE 0 plane_state->in_transfer_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->in_transfer_func.type 0-2
PARAM_VALUE 0 plane_state->refcount.refcount.refs.counter 1
PARAM_VALUE 0 plane_state->rotation 0-3
PARAM_VALUE 0 plane_state->stereo_format 0
PARAM_VALUE 0 plane_state->visible 1
BUF_SIZE 0 plane_state 343752
BUF_SIZE 0 plane_state 343752
DATA_SOURCE 0 plane_state r dc_create_plane_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_plane_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 4096-ptr_max
PARAM_VALUE 0 plane_state->address.dcc_ind_blk 0-1,3
PARAM_VALUE 0 plane_state->cm.blend_func.sdr_ref_white_level 80
PARAM_VALUE 0 plane_state->cm.blend_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_blue 1
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_green 1
PARAM_VALUE 0 plane_state->cm.blend_func.tf_pts.x_point_at_y1_red 1
PARAM_VALUE 0 plane_state->cm.blend_func.type 1-2
PARAM_VALUE 0 plane_state->cm.flags.all 0
PARAM_VALUE 0 plane_state->cm.lut3d_func.lut_3d.use_12bits 1
PARAM_VALUE 0 plane_state->cm.lut3d_func.state.bits.initialized 1
PARAM_VALUE 0 plane_state->cm.shaper_func.sdr_ref_white_level 80
PARAM_VALUE 0 plane_state->cm.shaper_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.end_exponent 0,4,7
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_blue 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_green 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.tf_pts.x_point_at_y1_red 1,12,125
PARAM_VALUE 0 plane_state->cm.shaper_func.type 1-2
PARAM_VALUE 0 plane_state->color_space 1,5-6,9-10,13-14
PARAM_VALUE 0 plane_state->ctx 0,4096-ptr_max
PARAM_VALUE 0 plane_state->flip_int_enabled 1
PARAM_VALUE 0 plane_state->format 0,2-6,8-11,18-19,21
PARAM_VALUE 0 plane_state->gamma_correction.is_identity 1
PARAM_VALUE 0 plane_state->gamut_remap_matrix.enable_remap 1
PARAM_VALUE 0 plane_state->global_alpha_value 0-4095
PARAM_VALUE 0 plane_state->horizontal_mirror 0
PARAM_VALUE 0 plane_state->in_transfer_func.tf 0-3,7-9
PARAM_VALUE 0 plane_state->in_transfer_func.type 0-2
PARAM_VALUE 0 plane_state->refcount.refcount.refs.counter 1
PARAM_VALUE 0 plane_state->rotation 0-3
PARAM_VALUE 0 plane_state->stereo_format 0
PARAM_VALUE 0 plane_state->visible 1
BUF_SIZE 0 plane_state 343752
BUF_SIZE 0 plane_state 343752
DATA_SOURCE 0 plane_state r dc_create_plane_state
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_drm_plane_destroy_state() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_destruct() -> dc_plane_state_release()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_destruct() -> dc_plane_state_release()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_release_phantom_plane() -> dc_plane_state_release()

Type Parameter Key Value
CAPPED_DATA 0 plane_state 1
DATA_SOURCE 0 plane_state $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_remove_plane() -> dc_plane_state_release()

Type Parameter Key Value
PARAM_VALUE 0 plane_state 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL