Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c520 int num_slices_h; in setup_dsc_config() local
651 num_slices_h = min_slices_h; in setup_dsc_config()
654 num_slices_h = min(dsc_policy.max_slices_h, max_slices_h); in setup_dsc_config()
656 num_slices_h = max_slices_h; in setup_dsc_config()
662 num_slices_h = min(dsc_policy.max_slices_h, max_slices_h); in setup_dsc_config()
664 num_slices_h = max_slices_h; in setup_dsc_config()
666 num_slices_h = min_slices_h; in setup_dsc_config()
674 dsc_cfg->num_slices_h = num_slices_h; in setup_dsc_config()
675 slice_width = pic_width / num_slices_h; in setup_dsc_config()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c178 DC_LOG_DSC("\tnum_slices_h %d", config->dc_dsc_cfg.num_slices_h); in dsc_config_log()
313 ASSERT(dsc_cfg->dc_dsc_cfg.num_slices_h); in dsc_prepare_config()
325 if (!dsc_cfg->dc_dsc_cfg.num_slices_v || !dsc_cfg->dc_dsc_cfg.num_slices_h || in dsc_prepare_config()
342 dsc_reg_vals->num_slices_h = dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config()
354 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config()
513 reg_vals->ich_reset_at_eol = reg_vals->num_slices_h == 1 ? 0 : 0xf; in dsc_update_from_dsc_parameters()
539 NUMBER_OF_SLICES_PER_LINE, reg_vals->num_slices_h - 1, in dsc_write_to_registers()
Ddcn20_dsc.h545 uint32_t num_slices_h; member
Ddcn20_resource.c1790 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()
2161 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dcn20_validate_dsc()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c403 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in dp_set_dsc_on_stream()
404 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dp_set_dsc_on_stream()
414 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in dp_set_dsc_on_stream()
Ddc_stream.c113 stream->timing.dsc_cfg.num_slices_h = 0; in construct()
Ddc.c1854 uint32_t enable_dsc = (update->dsc_config->num_slices_h != 0 && in copy_stream_update_to_stream()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h766 uint32_t num_slices_h; /* Number of DSC slices - horizontal */ member