Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c acquire_dpp_pipe_and_add_mpc_slice() -> (struct resource_funcs)->acquire_free_pipe_as_secondary_dpp_pipe()

Type Parameter Key Value
PARAM_VALUE 1 new_ctx 4096-ptr_max
PARAM_VALUE 1 new_ctx->phantom_planes->cm.flags.all 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.size 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.swizzle 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch1_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch2_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch3_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.channels_enabled 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.read_channel_mask 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_1_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_2_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_3_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.tap_point 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 2 pool 4096-ptr_max
PARAM_VALUE 2 pool->funcs 4096-ptr_max
PARAM_VALUE 2 pool->funcs->acquire_free_pipe_as_secondary_dpp_pipe 142933328020332544,1650731542248026112,5071221341000609792,5094431646252646400,5447446943835000832
PARAM_VALUE 2 pool->funcs->calculate_wm_and_dlg 0,1804129800042618880,4592023836782956544,5160987334544367616,6042266060417703936
PARAM_VALUE 2 pool->funcs->patch_unknown_plane_state 0,4540318623413260288,5832954108700545024,6068615779169501184,6300033728729010176,6488113995699130368
PARAM_VALUE 2 pool->funcs->validate_global 0,2747815138363842560,4183144574207725568,5517817891139301376,6058639850796613632
PARAM_VALUE 2 pool->funcs->validate_plane 0,568173811442049024,6672695629803356160,7242197547318841344
PARAM_VALUE 2 pool->res_cap->num_dig_link_enc 0,3,5
PARAM_VALUE 3 opp_head_pipe 4096-ptr_max
PARAM_VALUE 3 opp_head_pipe->top_pipe 0
PARAM_VALUE 3 opp_head_pipe->top_pipe->top_pipe 0
CAPPED_DATA 1 new_ctx->stream_count 1
DATA_SOURCE 0 cur_ctx $2
DATA_SOURCE 1 new_ctx $1
DATA_SOURCE 2 pool $3
DATA_SOURCE 3 opp_head_pipe r resource_get_opp_head
CONTAINER 2 -128-1304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 new_ctx->bw_ctx.dml.vba.cache_num_pipes
NO_OVERFLOW_SIMPLE 2 pool->pipe_count

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c acquire_pipes_and_add_odm_slice() -> (struct resource_funcs)->acquire_free_pipe_as_secondary_dpp_pipe()

Type Parameter Key Value
PARAM_VALUE 1 new_ctx 4096-ptr_max
PARAM_VALUE 1 new_ctx->phantom_planes->cm.flags.all 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.size 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_dma.swizzle 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm.lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch1_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch2_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.ch3_src 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.channels_enabled 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.read_channel_mask 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_1_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_2_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.src_3_select 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->cm_hist_control.tap_point 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 new_ctx->res_ctx->is_dsc_acquired 1
PARAM_VALUE 2 pool 4096-ptr_max
PARAM_VALUE 2 pool->funcs 4096-ptr_max
PARAM_VALUE 2 pool->funcs->acquire_free_pipe_as_secondary_opp_head 7755798281432571904
PARAM_VALUE 2 pool->funcs->calculate_wm_and_dlg 0,1804129800042618880,4592023836782956544,5160987334544367616,6042266060417703936
PARAM_VALUE 2 pool->funcs->link_encs_assign 0,5262900683136417792
PARAM_VALUE 2 pool->funcs->patch_unknown_plane_state 0,4540318623413260288,5832954108700545024,6068615779169501184,6300033728729010176,6488113995699130368
PARAM_VALUE 2 pool->funcs->validate_global 0,2747815138363842560,4183144574207725568,5517817891139301376,6058639850796613632
PARAM_VALUE 2 pool->funcs->validate_plane 0,568173811442049024,6672695629803356160,7242197547318841344
PARAM_VALUE 2 pool->res_cap->num_dig_link_enc 0,3,5
PARAM_VALUE 2 pool->res_cap->num_dsc 0,2-6
PARAM_VALUE 3 opp_head_pipe 4096-ptr_max
PARAM_VALUE 3 opp_head_pipe->next_odm_pipe 0
PARAM_VALUE 3 opp_head_pipe->prev_odm_pipe 4096-ptr_max
PARAM_VALUE 3 opp_head_pipe->prev_odm_pipe->next_odm_pipe 4096-ptr_max
PARAM_VALUE 3 opp_head_pipe->stream 4096-ptr_max
PARAM_VALUE 3 opp_head_pipe->stream->ctx->dc->res_pool->res_cap->num_dsc 0,2-6
BUF_SIZE 1 new_ctx (-1),4097-s32max
BUF_SIZE 1 new_ctx (-1),4097-s32max
CAPPED_DATA 1 new_ctx->stream_count 1
CAPPED_DATA 3 opp_head_pipe->stream 1
DATA_SOURCE 0 cur_ctx $2
DATA_SOURCE 1 new_ctx $1
DATA_SOURCE 2 pool $3
CONTAINER 2 -128-1304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 new_ctx->bw_ctx.dml.vba.cache_num_pipes
NO_OVERFLOW_SIMPLE 2 pool->pipe_count
NO_OVERFLOW_SIMPLE 3 opp_head_pipe->pipe_idx

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c acquire_secondary_dpp_pipes_and_add_plane() -> (struct resource_funcs)->acquire_free_pipe_as_secondary_dpp_pipe()

Type Parameter Key Value
PARAM_VALUE 1 new_ctx 4096-ptr_max
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 new_ctx->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 new_ctx->stream_count 1-255
PARAM_VALUE 1 *new_ctx->res_ctx.is_dsc_acquired 0-1
PARAM_VALUE 2 pool 4096-ptr_max
PARAM_VALUE 2 pool->funcs 4096-ptr_max
PARAM_VALUE 2 pool->funcs->acquire_free_pipe_as_secondary_dpp_pipe 142933328020332544,1650731542248026112,5071221341000609792,5094431646252646400,5447446943835000832
BUF_SIZE 1 new_ctx (-1),4097-s32max
BUF_SIZE 1 new_ctx (-1),4097-s32max
CAPPED_DATA 1 new_ctx->stream_count 1
CAPPED_DATA 2 pool->pipe_count 1
DATA_SOURCE 0 cur_ctx $3
DATA_SOURCE 1 new_ctx $2
DATA_SOURCE 2 pool $4
CONTAINER 2 -128-1304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 pool->pipe_count