Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn10/dcn10_resource.c dcn10_add_stream_to_ctx() -> resource_map_pool_resources()

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 context 4096-ptr_max
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 context->streams 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
PARAM_VALUE 2 stream->ctx 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce110/dce110_resource.c dce110_add_stream_to_ctx() -> resource_map_pool_resources()

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 context 4096-ptr_max
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 context->streams 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
PARAM_VALUE 2 stream->ctx 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_add_stream_to_ctx() -> resource_map_pool_resources()

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 context 4096-ptr_max
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 context->streams 4096-ptr_max
PARAM_VALUE 1 *context->res_ctx.is_dsc_acquired 0-1
PARAM_VALUE 2 stream 4096-ptr_max
PARAM_VALUE 2 stream->ctx 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce100/dce100_resource.c dce100_add_stream_to_ctx() -> resource_map_pool_resources()

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 context 4096-ptr_max
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 context->streams 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
PARAM_VALUE 2 stream->ctx 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce112/dce112_resource.c dce112_add_stream_to_ctx() -> resource_map_pool_resources()

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 context 4096-ptr_max
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_blue_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_green_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_red_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_x 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.chromaticity_white_point_y 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.max_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_content_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.maximum_frame_average_light_level 0-4294967295
PARAM_VALUE 1 context->phantom_planes->hdr_static_ctx.min_luminance 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.lut_3d.lut_dim 0-4294967295
PARAM_VALUE 1 context->phantom_planes->lut3d_func.state.raw 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.format_params.format 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.gpu_mem_params.size 0-4294967295
PARAM_VALUE 1 context->phantom_planes->mcm_luts.lut3d_data.lut3d_src 0-4294967295
PARAM_VALUE 1 context->streams 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
PARAM_VALUE 2 stream->ctx 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 2 stream->ctx->dc->res_pool->funcs 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock