Home
last modified time | relevance | path

Searched refs:num_slices_h (Results 1 – 20 of 20) sorted by relevance

/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c100 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/
Ddc_dsc.h90 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp);
94 const int num_slices_h,
Ddc_hw_types.h859 uint32_t num_slices_h; /* Number of DSC slices - horizontal */ member
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dsc/dcn20/
Ddcn20_dsc.c180 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()
Ddcn20_dsc.h546 uint32_t num_slices_h; member
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
Ddcn314_hwseq.c95 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/
Ddcn401_dsc.c247 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/
Damdgpu_dm_mst_types.c814 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()
Damdgpu_dm.c6783 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/
Ddcn35_hwseq.c360 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/
Dlink_dpms.c832 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/
Ddcn32_hwseq.c1060 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/
Ddc_stream.c115 stream->timing.dsc_cfg.num_slices_h = 0; in dc_stream_construct()
Ddc_resource.c4059 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()
Ddc.c3169 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/
Ddml21_translation_helper.c407 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/
Ddml2_translation_helper.c783 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/
Ddcn20_resource.c1669 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/
Ddce110_hwseq.c1427 stream->timing.dsc_cfg.num_slices_h; in build_audio_output()
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1374 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()