Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c allocate_mst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root 0
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.lock.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.mst_state 0-1
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.next_start_slot 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.payload_count 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.qlock.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->cur_link_settings.link_rate 6-30,1000-2000
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r dc_fixpt_div
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c deallocate_mst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->prev_odm_pipe 0
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx->dc 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->ctx->dc->res_pool->dccg->funcs->enable_hdmicharclk 0,4,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->hwseq->wa_state.skip_blank_stream 0-1
PARAM_VALUE 0 pipe_ctx->stream->signal 64
PARAM_VALUE 0 pipe_ctx->stream->sink 0,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream_res.audio->funcs->az_disable_hbr_audio 5077894766283632640
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_dsc_config 0,3598303988052037632,8603795597491806208
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_odm_bypass 0,1134321944835944448,1603183173331275776,6116399471158304768,7645597569047158784,8219396703655817216
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_out_mux 0,400365980042444800,1252548466178600960
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_static_screen_control 0,5071642371786563584,5913575906034724864,8835630547784204288
PARAM_VALUE 0 pipe_ctx->top_pipe 0
CAPPED_DATA 0 pipe_ctx->stream->link 1
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r dc_fixpt_from_int
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL2 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL 0-u32max

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_increase_mst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root 0
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.lock.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.mst_state 0-1
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.next_start_slot 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.payload_count 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.qlock.dep_map->name 0-255
PARAM_VALUE 0 pipe_ctx->stream->dm_stream_context->mst_root->mst_mgr.qlock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->ctx->logger->dev 0,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->cur_link_settings.link_rate 6-30,1000-2000
PARAM_VALUE 0 pipe_ctx->stream->link->dc 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->link_srv->increase_mst_payload 1-u64max
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r dc_fixpt_div
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_reduce_mst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->link_srv->reduce_mst_payload 1-u64max
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r dc_fixpt_div
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c update_sst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->link_res.hpo_dp_link_enc 1-u64max
PARAM_VALUE 0 pipe_ctx->prev_odm_pipe 0
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx->dc 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->ctx->dc->res_pool->dccg->funcs->enable_hdmicharclk 0,4,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->ctx->logger->dev 0,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->dc->hwseq->wa_state.skip_blank_stream 0-1
PARAM_VALUE 0 pipe_ctx->stream->signal 32,128
PARAM_VALUE 0 pipe_ctx->stream->sink 0,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream_res.audio->funcs->az_disable_hbr_audio 5077894766283632640
PARAM_VALUE 0 pipe_ctx->stream_res.hpo_dp_stream_enc 1-u64max
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_dsc_config 0,3598303988052037632,8603795597491806208
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_odm_bypass 0,1134321944835944448,1603183173331275776,6116399471158304768,7645597569047158784,8219396703655817216
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_out_mux 0,400365980042444800,1252548466178600960
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_static_screen_control 0,5071642371786563584,5913575906034724864,8835630547784204288
PARAM_VALUE 0 pipe_ctx->top_pipe 0
CAPPED_DATA 0 pipe_ctx->stream->link 1
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r dc_fixpt_from_int
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL2 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL 0-u32max

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c update_sst_payload() -> (struct link_hwss_ext)->set_throttled_vcp_size()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->link_res.hpo_dp_link_enc 1-u64max
PARAM_VALUE 0 pipe_ctx->prev_odm_pipe 0
PARAM_VALUE 0 pipe_ctx->stream 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->ctx->dc 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->ctx->dc->res_pool->dccg->funcs->enable_hdmicharclk 0,4,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream->link->cur_link_settings.link_rate 1000-2000
PARAM_VALUE 0 pipe_ctx->stream->link->dc->hwseq->wa_state.skip_blank_stream 0-1
PARAM_VALUE 0 pipe_ctx->stream->signal 32,128
PARAM_VALUE 0 pipe_ctx->stream->sink 0,4096-ptr_max
PARAM_VALUE 0 pipe_ctx->stream_res.audio->funcs->az_disable_hbr_audio 5077894766283632640
PARAM_VALUE 0 pipe_ctx->stream_res.hpo_dp_stream_enc 1-u64max
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_dsc_config 0,3598303988052037632,8603795597491806208
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_odm_bypass 0,1134321944835944448,1603183173331275776,6116399471158304768,7645597569047158784,8219396703655817216
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_out_mux 0,400365980042444800,1252548466178600960
PARAM_VALUE 0 pipe_ctx->stream_res.tg->funcs->set_static_screen_control 0,5071642371786563584,5913575906034724864,8835630547784204288
PARAM_VALUE 0 pipe_ctx->top_pipe 0
CAPPED_DATA 0 pipe_ctx->stream->link 1
DATA_SOURCE 0 pipe_ctx $0
DATA_SOURCE 1 throttled_vcp_size r link_calculate_sst_avg_time_slots_per_mtp
HARD_MAX 0 pipe_ctx->stream->link->cur_link_settings.link_rate 2000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL2 0-u32max
HOST_DATA 0 pipe_ctx->stream->link->panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL 0-u32max