/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | dc_dsc.c | 97 timing->dsc_cfg.num_slices_h, in dc_bandwidth_in_kbps_from_timing() 153 const uint32_t num_slices_h, 162 const uint32_t num_slices_h, 588 const uint32_t num_slices_h, in compute_bpp_x16_from_target_bandwidth() argument 617 const uint32_t num_slices_h, in decide_dsc_bandwidth_range() argument 675 const int num_slices_h, in decide_dsc_target_bpp_x16() argument 873 int num_slices_h = 0; in setup_dsc_config() local 1026 if (num_slices_h == 0) in setup_dsc_config() 1033 dsc_cfg->num_slices_h = num_slices_h; in setup_dsc_config() 1071 num_slices_h, in setup_dsc_config() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dsc.h | 89 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp); 93 const int num_slices_h,
|
H A D | dc_hw_types.h | 829 uint32_t num_slices_h; /* Number of DSC slices - horizontal */ member
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
H A D | dcn20_dsc.c | 188 DC_LOG_DSC("\tnum_slices_h %d", config->dc_dsc_cfg.num_slices_h); in dsc_config_log() 381 ASSERT(dsc_cfg->dc_dsc_cfg.num_slices_h); in dsc_prepare_config() 393 if (!dsc_cfg->dc_dsc_cfg.num_slices_v || !dsc_cfg->dc_dsc_cfg.num_slices_h || in dsc_prepare_config() 410 dsc_reg_vals->num_slices_h = dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config() 419 dsc_reg_vals->ich_reset_at_eol = (dsc_cfg->is_odm || dsc_reg_vals->num_slices_h > 1) ? 0xF : 0; in dsc_prepare_config() 423 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config() 612 NUMBER_OF_SLICES_PER_LINE, reg_vals->num_slices_h - 1, in dsc_write_to_registers() 618 reg_vals->num_slices_h - 1, ALTERNATE_ICH_ENCODING_EN, in dsc_write_to_registers()
|
H A D | dcn20_dsc.h | 532 uint32_t num_slices_h; member
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 791 uint32_t num_slices_h; member 837 if (params[i].num_slices_h) in set_dsc_configs_from_fairness_vars() 838 params[i].timing->dsc_cfg.num_slices_h = params[i].num_slices_h; in set_dsc_configs_from_fairness_vars() 1106 params[count].num_slices_h = aconnector->dsc_settings.dsc_num_slices_h; in compute_mst_dsc_configs_for_link()
|
H A D | amdgpu_dm.c | 6181 stream->timing.dsc_cfg.num_slices_h = aconnector->dsc_settings.dsc_num_slices_h; in apply_dsc_policy_for_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 386 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream() 387 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream() 398 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.c | 1002 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream() 1003 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream() 1018 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 109 stream->timing.dsc_cfg.num_slices_h = 0; in dc_stream_construct()
|
H A D | dc.c | 3014 uint32_t enable_dsc = (update->dsc_config->num_slices_h != 0 && in copy_stream_update_to_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 817 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in link_set_dsc_on_stream() 818 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in link_set_dsc_on_stream() 832 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in link_set_dsc_on_stream()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 1692 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dcn20_validate_dsc()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1373 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()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 1376 stream->timing.dsc_cfg.num_slices_h; in build_audio_output()
|