Searched refs:opp_cnt (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_optc.c | 205 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/ |
D | dc_link_hwss.c | 437 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()
|
D | dc_link_dp.c | 3879 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/ |
D | dcn20_optc.c | 235 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()
|
D | dcn20_hwseq.c | 616 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 …]
|
D | dcn20_optc.h | 102 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
|
D | dcn20_stream_encoder.c | 459 if (is_two_pixels_per_containter(¶m->timing) || param->opp_cnt > 1) { in enc2_stream_encoder_dp_unblank()
|
D | dcn20_resource.c | 1595 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/ |
D | stream_encoder.h | 91 int opp_cnt; member
|
D | timing_generator.h | 285 void (*set_odm_combine)(struct timing_generator *optc, int *opp_id, int opp_cnt,
|