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/amdgpu_dm/amdgpu_dm_mst_types.c compute_mst_dsc_configs_for_link() -> dc_dsc_compute_bandwidth_range()

Type Parameter Key Value
PARAM_VALUE 2 min_bpp_x16 0,96-128
PARAM_VALUE 3 max_bpp_x16 0-576
PARAM_VALUE 4 dsc_sink_caps 4096-ptr_max
PARAM_VALUE 5 timing 4096-ptr_max
PARAM_VALUE 5 timing->flags.DSC 0
PARAM_VALUE 6 link_encoding 0-4
PARAM_VALUE 7 range 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c is_dsc_common_config_possible() -> dc_dsc_compute_bandwidth_range()

Type Parameter Key Value
PARAM_VALUE 2 min_bpp_x16 0,96-128
PARAM_VALUE 3 max_bpp_x16 0-576
PARAM_VALUE 4 dsc_sink_caps 4096-ptr_max
PARAM_VALUE 5 timing 4096-ptr_max
PARAM_VALUE 6 link_encoding 0-4
PARAM_VALUE 7 range 5362688085499011072
PARAM_VALUE 7 range->max_kbps 0
PARAM_VALUE 7 range->max_target_bpp_x16 0
PARAM_VALUE 7 range->min_kbps 0
PARAM_VALUE 7 range->min_target_bpp_x16 0
DATA_SOURCE 7 range $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c apply_dsc_policy_for_edp() -> dc_dsc_compute_bandwidth_range()

Type Parameter Key Value
PARAM_VALUE 2 min_bpp_x16 0-128
PARAM_VALUE 3 max_bpp_x16 0-128
PARAM_VALUE 4 dsc_sink_caps 2156520120294821888
PARAM_VALUE 4 dsc_sink_caps->bpp_increment_div 0-2,4,8,16
PARAM_VALUE 4 dsc_sink_caps->branch_overall_throughput_0_mps 0,680,700-13350
PARAM_VALUE 4 dsc_sink_caps->branch_overall_throughput_1_mps 0,680,700-13350
PARAM_VALUE 4 dsc_sink_caps->edp_max_bits_per_pixel 0-u16max
PARAM_VALUE 4 dsc_sink_caps->is_dsc_supported 1
PARAM_VALUE 4 dsc_sink_caps->lb_bit_depth 0,8-16
PARAM_VALUE 4 dsc_sink_caps->slice_caps2.bits.NUM_SLICES_16 0
PARAM_VALUE 4 dsc_sink_caps->throughput_mode_0_mps 0-1062
PARAM_VALUE 4 dsc_sink_caps->throughput_mode_1_mps 0,170,340,400,450,500,550,600,650,680,700,750,800,850,900,950,1000,1200,1800
PARAM_VALUE 5 timing 4096-ptr_max
PARAM_VALUE 5 timing->flags.DSC 0
PARAM_VALUE 6 link_encoding 0-4
PARAM_VALUE 7 range 6605076808233877504
PARAM_VALUE 7 range->max_kbps 0
PARAM_VALUE 7 range->max_target_bpp_x16 0
PARAM_VALUE 7 range->min_kbps 0
PARAM_VALUE 7 range->min_target_bpp_x16 0
DATA_SOURCE 4 dsc_sink_caps $3
FUZZY_MAX 2 min_bpp_x16 128
FUZZY_MAX 3 max_bpp_x16 128
FUZZY_MAX 4 dsc_sink_caps->edp_max_bits_per_pixel 128
PARAM_COMPARE 2 min_bpp_x16 == $3
PARAM_COMPARE 3 max_bpp_x16 == $2