Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c, line 2405
- drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c, line 1430
- drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c, line 1289
- drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c, line 1233
- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c, line 2005
- drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c, line 1932
- drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c, line 2002
- drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c, line 1876
- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c, line 2275
- drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c, line 1770
- drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c, line 1954
- drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c, line 1927
- drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c, line 1928
- drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c, line 1959
- drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c, line 1932
- drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c, line 1904
Smatch caller information:
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 |