Home
last modified time | relevance | path

Searched refs:dc_dsc_cfg (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c180 DC_LOG_DSC("\tnum_slices_h %d", config->dc_dsc_cfg.num_slices_h); in dsc_config_log()
181 DC_LOG_DSC("\tnum_slices_v %d", config->dc_dsc_cfg.num_slices_v); in dsc_config_log()
183 config->dc_dsc_cfg.bits_per_pixel, in dsc_config_log()
184 config->dc_dsc_cfg.bits_per_pixel / 16, in dsc_config_log()
185 ((config->dc_dsc_cfg.bits_per_pixel % 16) * 10000) / 16); in dsc_config_log()
373 ASSERT(dsc_cfg->dc_dsc_cfg.num_slices_h); in dsc_prepare_config()
374 ASSERT(dsc_cfg->dc_dsc_cfg.num_slices_v); in dsc_prepare_config()
375 ASSERT(dsc_cfg->dc_dsc_cfg.version_minor == 1 || dsc_cfg->dc_dsc_cfg.version_minor == 2); in dsc_prepare_config()
378 ASSERT((dsc_cfg->dc_dsc_cfg.version_minor == 1 && in dsc_prepare_config()
379 (8 <= dsc_cfg->dc_dsc_cfg.linebuf_depth && dsc_cfg->dc_dsc_cfg.linebuf_depth <= 13)) || in dsc_prepare_config()
[all …]
Ddcn20_resource.c1684 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg; in dcn20_validate_dsc()
1685 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dcn20_validate_dsc()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_hwseq.c117 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg; in update_dsc_on_stream()
118 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream()
119 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream()
130 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h43 struct dc_dsc_config dc_dsc_cfg; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c1022 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg; in update_dsc_on_stream()
1023 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in update_dsc_on_stream()
1024 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in update_dsc_on_stream()
1035 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in update_dsc_on_stream()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c797 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg; in link_set_dsc_on_stream()
798 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in link_set_dsc_on_stream()
799 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in link_set_dsc_on_stream()
809 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in link_set_dsc_on_stream()
898 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg; in link_set_dsc_pps_packet()