Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c, line 2280
- drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c, line 1112
- drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c, line 1415
- drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c, line 2404
- drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c, line 1429
- drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c, line 1288
- drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c, line 1232
- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c, line 2004
- drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c, line 1931
- drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c, line 2001
- drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c, line 1875
- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c, line 2274
- drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c, line 1769
- drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c, line 1953
- drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c, line 1926
- drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c, line 1927
- drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c, line 1958
- drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c, line 1931
- drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c, line 1903
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c release_dpp_pipe_and_remove_mpc_slice() -> (struct resource_funcs)->release_pipe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->phantom_planes->cm.flags.all | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.size | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.swizzle | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.state.raw | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch1_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch2_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch3_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.channels_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.read_channel_mask | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_1_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_2_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_3_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.tap_point | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_blue_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->bottom_pipe | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pipe->bottom_pipe->bottom_pipe | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pipe->bottom_pipe->top_pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->bottom_pipe->top_pipe->bottom_pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->top_pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->top_pipe->bottom_pipe | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pipe->top_pipe->bottom_pipe->bottom_pipe | 0,4096-ptr_max |
| PARAM_VALUE | 2 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->funcs | 4096-ptr_max |
| 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->release_pipe | 2317457497300930560 |
| 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 |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| CAPPED_DATA | 0 | context->stream_count | 1 |
| DATA_SOURCE | 0 | context | $1 |
| DATA_SOURCE | 1 | pipe | r get_last_dpp_pipe_in_mpcc_combine |
| DATA_SOURCE | 2 | pool | $2 |
| CONTAINER | 2 | -144-1304+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | context->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 release_pipes_and_remove_odm_slice() -> (struct resource_funcs)->release_pipe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->phantom_planes->cm.flags.all | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.size | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.swizzle | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.state.raw | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch1_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch2_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch3_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.channels_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.read_channel_mask | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_1_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_2_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_3_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.tap_point | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_blue_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_blue_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.max_luminance | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.maximum_content_light_level | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.min_luminance | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->lut3d_func.state.raw | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.lut3d_src | 0-4294967295 |
| PARAM_VALUE | 2 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->funcs | 4096-ptr_max |
| 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->release_pipe | 2317457497300930560 |
| 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 |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| DATA_SOURCE | 0 | context | $1 |
| DATA_SOURCE | 2 | pool | $2 |
| CONTAINER | 2 | -144-1304+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | context->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 release_pipes_and_remove_odm_slice() -> (struct resource_funcs)->release_pipe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| PARAM_VALUE | 0 | context->phantom_planes->cm.flags.all | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.size | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_dma.swizzle | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm.lut3d_func.state.raw | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch1_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch2_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.ch3_src | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.channels_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.read_channel_mask | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_1_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_2_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.src_3_select | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->cm_hist_control.tap_point | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_blue_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_blue_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_green_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_red_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.max_luminance | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.maximum_content_light_level | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->hdr_static_ctx.min_luminance | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->lut3d_func.lut_3d.lut_dim | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->lut3d_func.state.raw | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size | 0-4294967295 |
| PARAM_VALUE | 0 | context->phantom_planes->mcm_luts.lut3d_data.lut3d_src | 0-4294967295 |
| PARAM_VALUE | 1 | pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.deepsleep_dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.mem_trip_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.t_extra_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.t_mclk_wm_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.t_sr_wm_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.t_urg_wm_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_dlg_sys_param.total_flip_bw | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.clks_cfg.dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.clks_cfg.dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.clks_cfg.dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.clks_cfg.refclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.clks_cfg.socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.dout.output_bpp | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.dout.wb.wb_hratio | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.dout.wb.wb_vratio | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.pipe.dest.pixel_rate_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.pipe.src.dcc_fraction_of_zs_req_chroma | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->dml_input.pipe.src.dcc_fraction_of_zs_req_luma | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->next_odm_pipe->next_odm_pipe | 0 |
| PARAM_VALUE | 1 | pipe->pipe_dlg_param.pixel_rate_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | pipe->prev_odm_pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe->prev_odm_pipe->next_odm_pipe | 0 |
| PARAM_VALUE | 2 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->funcs | 4096-ptr_max |
| 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->release_pipe | 2317457497300930560 |
| 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 |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| BUF_SIZE | 0 | context | (-1),4097-s32max |
| DATA_SOURCE | 0 | context | $1 |
| DATA_SOURCE | 1 | pipe | r get_last_opp_head |
| DATA_SOURCE | 2 | pool | $2 |
| CONTAINER | 2 | -144-1304+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | context->bw_ctx.dml.vba.cache_num_pipes | |
| NO_OVERFLOW_SIMPLE | 2 | pool->pipe_count |