Home
last modified time | relevance | path

Searched refs:opp_cnt (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_optc.c205 static void optc3_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc3_set_odm_combine() argument
210 / opp_cnt; in optc3_set_odm_combine()
221 ASSERT(opp_cnt == 2 || opp_cnt == 4); in optc3_set_odm_combine()
226 if (opp_cnt == 2) { in optc3_set_odm_combine()
231 } else if (opp_cnt == 4) { in optc3_set_odm_combine()
242 if (opp_cnt == 2) { in optc3_set_odm_combine()
247 } else if (opp_cnt == 4) { in optc3_set_odm_combine()
259 REG_SET(OTG_H_TIMING_CNTL, 0, OTG_H_TIMING_DIV_MODE, opp_cnt - 1); in optc3_set_odm_combine()
260 optc1->opp_count = opp_cnt; in optc3_set_odm_combine()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c437 int opp_cnt = 1; in dp_set_dsc_on_stream() local
440 opp_cnt++; in dp_set_dsc_on_stream()
448 …am->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right) / opp_cnt; in dp_set_dsc_on_stream()
454 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0); in dp_set_dsc_on_stream()
455 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt; in dp_set_dsc_on_stream()
465 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt; in dp_set_dsc_on_stream()
466 dsc_cfg.pic_width *= opp_cnt; in dp_set_dsc_on_stream()
Ddc_link_dp.c3879 int opp_cnt = 1; in set_crtc_test_pattern() local
3902 opp_cnt++; in set_crtc_test_pattern()
3903 dpg_width = width / opp_cnt; in set_crtc_test_pattern()
3943 int opp_cnt = 1; in set_crtc_test_pattern() local
3947 opp_cnt++; in set_crtc_test_pattern()
3949 dpg_width = width / opp_cnt; in set_crtc_test_pattern()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_optc.c235 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc2_set_odm_combine() argument
240 / opp_cnt; in optc2_set_odm_combine()
243 ASSERT(opp_cnt == 2); in optc2_set_odm_combine()
273 optc1->opp_count = opp_cnt; in optc2_set_odm_combine()
Ddcn20_hwseq.c616 int opp_cnt) in calc_mpc_flow_ctrl_cnt() argument
621 if (opp_cnt >= 2) in calc_mpc_flow_ctrl_cnt()
632 if (opp_cnt == 4) in calc_mpc_flow_ctrl_cnt()
649 int opp_cnt = 1; in dcn20_enable_stream_timing() local
671 opp_inst[opp_cnt] = odm_pipe->stream_res.opp->inst; in dcn20_enable_stream_timing()
672 opp_cnt++; in dcn20_enable_stream_timing()
675 if (opp_cnt > 1) in dcn20_enable_stream_timing()
678 opp_inst, opp_cnt, in dcn20_enable_stream_timing()
708 rate_control_2x_pclk = rate_control_2x_pclk || opp_cnt > 1; in dcn20_enable_stream_timing()
711 flow_control.flow_ctrl_cnt1 = calc_mpc_flow_ctrl_cnt(stream, opp_cnt); in dcn20_enable_stream_timing()
[all …]
Ddcn20_optc.h102 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
Ddcn20_stream_encoder.c459 if (is_two_pixels_per_containter(&param->timing) || param->opp_cnt > 1) { in enc2_stream_encoder_dp_unblank()
Ddcn20_resource.c1595 int opp_cnt = 1; in get_pixel_clock_parameters() local
1598 opp_cnt++; in get_pixel_clock_parameters()
1616 if (opp_cnt == 4) in get_pixel_clock_parameters()
1618 else if (optc2_is_two_pixels_per_containter(&stream->timing) || opp_cnt == 2) in get_pixel_clock_parameters()
2487 int opp_cnt = 1; local
2490 opp_cnt++;
2497 + stream->timing.h_border_right) / opp_cnt;
2504 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h91 int opp_cnt; member
Dtiming_generator.h285 void (*set_odm_combine)(struct timing_generator *optc, int *opp_id, int opp_cnt,