Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c, line 379
- drivers/gpu/drm/amd/display/dc/link/link_dpms.c
- drivers/gpu/drm/amd/display/dc/link/link_validation.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c, line 377
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c link_decide_link_settings() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c link_decide_link_settings() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 128 |
| PARAM_VALUE | 0 | link->panel_config.dsc.force_dsc_edp_policy | 1-u32max |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c bpp_x16_from_pbn() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c build_frl_mst_dsc_params() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c compute_mst_dsc_configs_for_link() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c compute_mst_dsc_configs_for_link() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.branch_dev_id | 9489444 |
| PARAM_VALUE | 0 | link->dpcd_caps.dpcd_rev.raw | 18,20 |
| PARAM_VALUE | 0 | link->dpcd_caps.sink_count.bits.SINK_COUNT | 2-63 |
| PARAM_VALUE | 0 | link->type | 2 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c compute_mst_dsc_configs_for_link() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.branch_dev_id | 9489444 |
| PARAM_VALUE | 0 | link->dpcd_caps.dpcd_rev.raw | 18,20 |
| PARAM_VALUE | 0 | link->dpcd_caps.sink_count.bits.SINK_COUNT | 2-63 |
| PARAM_VALUE | 0 | link->type | 2 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_mst_is_port_support_mode() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_mst_is_port_support_mode() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c is_dsc_common_config_possible() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c is_dsc_common_config_possible() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c set_dsc_configs_from_fairness_vars() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_edp() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_edp() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_edp() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_stream() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->dscs | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_stream() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_stream() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->dscs | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_stream() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->hdmi_frl_get_verified_link_cap | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_stream() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->dscs | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_get_verified_link_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_link_bandwidth_kbps | 4096-ptr_max |
| PARAM_VALUE | 0 | link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | link->preferred_link_setting.link_rate | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c dcn35_notify_host_router_bw() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c allocate_usb4_bandwidth() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_calculate_sst_avg_time_slots_per_mtp() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_is_ilr_optimization_required() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dpcd_caps.edp_supported_link_rates_count | 1-255 |
| PARAM_VALUE | 0 | link->link_enc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->link_enc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | link->link_enc->preferred_engine | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | link->panel_config.ilr.optimize_edp_link_rate | 1 |
| CAPPED_DATA | 0 | link->link_enc->preferred_engine | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_get_timing_bandwidth_kbps() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $1 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_validate_mode_timing() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->link_enc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->link_enc->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | link->remote_sinks | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c frl_validate_mode_timing() -> dc_link_get_highest_encoding_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->local_sink | 1-u64max |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |