/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 100 timing->dsc_cfg.num_slices_h, in dc_bandwidth_in_kbps_from_timing() 155 const uint32_t num_slices_h, 164 const uint32_t num_slices_h, 481 config.num_slices_h, &dsc_common_caps, timing, link_encoding, range); in dc_dsc_compute_bandwidth_range() 632 const uint32_t num_slices_h, in compute_bpp_x16_from_target_bandwidth() argument 641 timing, num_slices_h, is_dp); in compute_bpp_x16_from_target_bandwidth() 661 const uint32_t num_slices_h, in decide_dsc_bandwidth_range() argument 698 range->max_target_bpp_x16, num_slices_h, dsc_caps->is_dp); in decide_dsc_bandwidth_range() 702 range->min_target_bpp_x16, num_slices_h, dsc_caps->is_dp); in decide_dsc_bandwidth_range() 720 const int num_slices_h, in decide_dsc_target_bpp_x16() argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/ |
D | dc_dsc.h | 90 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp); 94 const int num_slices_h,
|
D | dc_hw_types.h | 859 uint32_t num_slices_h; /* Number of DSC slices - horizontal */ member
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
D | dcn20_dsc.c | 180 DC_LOG_DSC("\tnum_slices_h %d", config->dc_dsc_cfg.num_slices_h); in dsc_config_log() 376 ASSERT(dsc_cfg->dc_dsc_cfg.num_slices_h); in dsc_prepare_config() 388 if (!dsc_cfg->dc_dsc_cfg.num_slices_v || !dsc_cfg->dc_dsc_cfg.num_slices_h || in dsc_prepare_config() 405 dsc_reg_vals->num_slices_h = dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config() 414 dsc_reg_vals->ich_reset_at_eol = (dsc_cfg->is_odm || dsc_reg_vals->num_slices_h > 1) ? 0xF : 0; in dsc_prepare_config() 418 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config() 607 NUMBER_OF_SLICES_PER_LINE, reg_vals->num_slices_h - 1, in dsc_write_to_registers() 613 reg_vals->num_slices_h - 1, ALTERNATE_ICH_ENCODING_EN, in dsc_write_to_registers()
|
D | dcn20_dsc.h | 546 uint32_t num_slices_h; member
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
D | dcn314_hwseq.c | 95 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream() 96 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream() 107 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dsc/dcn401/ |
D | dcn401_dsc.c | 247 NUMBER_OF_SLICES_PER_LINE, reg_vals->num_slices_h - 1, in dsc_write_to_registers() 253 reg_vals->num_slices_h - 1, ALTERNATE_ICH_ENCODING_EN, in dsc_write_to_registers()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_mst_types.c | 814 uint32_t num_slices_h; member 874 if (params[i].num_slices_h) in set_dsc_configs_from_fairness_vars() 875 params[i].timing->dsc_cfg.num_slices_h = params[i].num_slices_h; in set_dsc_configs_from_fairness_vars() 1176 params[count].num_slices_h = aconnector->dsc_settings.dsc_num_slices_h; in compute_mst_dsc_configs_for_link()
|
D | amdgpu_dm.c | 6783 stream->timing.dsc_cfg.num_slices_h = aconnector->dsc_settings.dsc_num_slices_h; in apply_dsc_policy_for_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
D | dcn35_hwseq.c | 360 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream() 361 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream() 372 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 832 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in link_set_dsc_on_stream() 833 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in link_set_dsc_on_stream() 847 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in link_set_dsc_on_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
D | dcn32_hwseq.c | 1060 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in dcn32_update_dsc_on_stream() 1061 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dcn32_update_dsc_on_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 115 stream->timing.dsc_cfg.num_slices_h = 0; in dc_stream_construct()
|
D | dc_resource.c | 4059 if (hactive % stream->timing.dsc_cfg.num_slices_h != 0) { in decide_hblank_borrow() 4060 ceil_slice_width = (hactive / stream->timing.dsc_cfg.num_slices_h) + 1; in decide_hblank_borrow() 4061 pipe_ctx->hblank_borrow = ceil_slice_width * stream->timing.dsc_cfg.num_slices_h - hactive; in decide_hblank_borrow()
|
D | dc.c | 3169 uint32_t enable_dsc = (update->dsc_config->num_slices_h != 0 && in copy_stream_update_to_stream()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 407 timing->dsc.overrides.num_slices = stream->timing.dsc_cfg.num_slices_h; in populate_dml21_timing_config_from_stream_state()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_translation_helper.c | 783 out->DSCSlices[location] = in->timing.dsc_cfg.num_slices_h; in populate_dml_output_cfg_from_stream_state()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
D | dcn20_resource.c | 1669 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dcn20_validate_dsc()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 1427 stream->timing.dsc_cfg.num_slices_h; in build_audio_output()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1374 pipes[pipe_cnt].dout.dsc_slices = res_ctx->pipe_ctx[i].stream->timing.dsc_cfg.num_slices_h; in dcn20_populate_dml_pipes_from_context()
|