Defined in 4 files as a function:
- drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c, line 848 (as a function)
- drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c, line 947 (as a function)
- drivers/gpu/drm/amd/display/dc/resource/dce112/dce112_resource.c, line 875 (as a function)
- drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c, line 1081 (as a function)
Referenced in 4 files:
- drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c, line 952
- drivers/gpu/drm/amd/display/dc/resource/dce110/dce110_resource.c, line 1126
- drivers/gpu/drm/amd/display/dc/resource/dce112/dce112_resource.c, line 1038
- drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c, line 1110
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn10/dcn10_resource.c dcn10_add_stream_to_ctx() -> build_mapped_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->ctx | 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 |
| CAPPED_DATA | 2 | stream | 1 |
| 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() -> build_mapped_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->ctx | 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 |
| CAPPED_DATA | 0 | dc->res_pool->clk_src_count | 1 |
| CAPPED_DATA | 2 | stream | 1 |
| 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/dce100/dce100_resource.c dce100_add_stream_to_ctx() -> build_mapped_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->ctx | 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 |
| CAPPED_DATA | 0 | dc->res_pool->clk_src_count | 1 |
| CAPPED_DATA | 2 | stream | 1 |
| 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() -> build_mapped_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->ctx | 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 |
| CAPPED_DATA | 2 | stream | 1 |
| DATA_SOURCE | 0 | dc | $0 |
| DATA_SOURCE | 1 | context | $1 |
| DATA_SOURCE | 2 | stream | $2 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dm->dc_lock |