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/dc/resource/dcn30/dcn30_resource.c dcn30_add_stream_to_ctx() -> dcn20_add_stream_to_ctx()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 0 dc->res_pool->funcs 4096-ptr_max
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->streams 4096-ptr_max
PARAM_VALUE 2 dc_stream 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 new_ctx (-1),4097-s32max
BUF_SIZE 1 new_ctx (-1),4097-s32max
BUF_SIZE 2 dc_stream (-1)-0,26536,26544
BUF_SIZE 2 dc_stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 new_ctx $1
DATA_SOURCE 2 dc_stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 0 dc->res_pool->funcs 4096-ptr_max
PARAM_VALUE 1 new_ctx 4096-ptr_max
PARAM_VALUE 1 new_ctx->streams 4096-ptr_max
PARAM_VALUE 1 *new_ctx->res_ctx.is_dsc_acquired 0-1
PARAM_VALUE 1 *new_ctx->res_ctx.link_enc_cfg_ctx.link_enc_avail s32min-s32max
PARAM_VALUE 2 dc_stream 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 dc_stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 new_ctx (-1),370336
BUF_SIZE 1 new_ctx (-1),370336
BUF_SIZE 2 dc_stream (-1)-0,26536,26544
BUF_SIZE 2 dc_stream (-1)-0,26536,26544
DATA_SOURCE 1 new_ctx $0
DATA_SOURCE 2 dc_stream $2
CONTAINER 0 -160-1304-1888+0 $(-1)
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 new_ctx->bw_ctx.dml.vba.cache_num_pipes