Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_post_update_surfaces_to_stream() -> (struct hw_sequencer_funcs)->optimize_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->ctx 4096-ptr_max
PARAM_VALUE 0 dc->ctx->dce_version 12-s32max
PARAM_VALUE 0 dc->current_state 4096-ptr_max
PARAM_VALUE 0 dc->optimized_required 1
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 0 dc->res_pool->res_cap->num_dig_link_enc 0,3,5
PARAM_VALUE 0 dc->res_pool->res_cap->num_dsc 0,2-6
PARAM_VALUE 1 context 4096-ptr_max
CAPPED_DATA 0 dc->res_pool->pipe_count 1
CAPPED_DATA 1 context->stream_count 1
DATA_SOURCE 0 dc $0
FUZZY_MAX 0 dc->ctx->dce_version 12
CONTAINER 0 -352-218664+0 $(-1)
CONTAINER 1 *(-352-218664+1880) $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &idle_work->dm->dc_lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c dcn10_post_unlock_program_front_end() -> (struct hw_sequencer_funcs)->optimize_bandwidth()

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->pipe_count 1-u32max
PARAM_VALUE 1 context 4096-ptr_max
PARAM_VALUE 1 context->res_ctx.pipe_ctx 4096-ptr_max
CAPPED_DATA 0 dc->res_pool->pipe_count 1
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
CONTAINER 0 -352-218664+0 $(-1)
NOCHECK_CALL