Home
last modified time | relevance | path

Searched refs:dsc_params (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c100 struct dsc_parameters *dsc_params) in dscc_compute_dsc_parameters() argument
106 dsc_params->pps = *pps; in dscc_compute_dsc_parameters()
107dsc_params->pps.initial_scale_value = 8 * rc->rc_model_size / (rc->rc_model_size - rc->initial_ful… in dscc_compute_dsc_parameters()
109 copy_pps_fields(&dsc_cfg, &dsc_params->pps); in dscc_compute_dsc_parameters()
112 dsc_cfg.mux_word_size = dsc_params->pps.bits_per_component <= 10 ? 48 : 64; in dscc_compute_dsc_parameters()
117 dsc_params->bytes_per_pixel = (uint32_t)tmp; in dscc_compute_dsc_parameters()
119 copy_pps_fields(&dsc_params->pps, &dsc_cfg); in dscc_compute_dsc_parameters()
120 dsc_params->rc_buffer_model_size = dsc_cfg.rc_bits; in dscc_compute_dsc_parameters()
H A Ddscc_types.h53 struct dsc_parameters *dsc_params);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dsc.c369 struct dsc_parameters dsc_params; in dsc_prepare_config() local
440 if (dscc_compute_dsc_parameters(&dsc_reg_vals->pps, &rc, &dsc_params)) { in dsc_prepare_config()
445 dsc_update_from_dsc_parameters(dsc_reg_vals, &dsc_params); in dsc_prepare_config()
447 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; in dsc_prepare_config()
568 …pdate_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params) in dsc_update_from_dsc_parameters() argument
572 reg_vals->pps = dsc_params->pps; in dsc_update_from_dsc_parameters()
578 reg_vals->rc_buffer_model_size = dsc_params->rc_buffer_model_size; in dsc_update_from_dsc_parameters()
H A Ddcn20_dsc.h572 …date_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params);