Searched refs:hw_crtc_timing (Results 1 – 5 of 5) sorted by relevance
207 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dcn31_hpo_dp_stream_enc_set_stream_attribute() local216 if (hw_crtc_timing.flags.INTERLACE) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()230 switch (hw_crtc_timing.pixel_encoding) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()239 if (hw_crtc_timing.flags.Y_ONLY) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()241 if (hw_crtc_timing.display_color_depth != COLOR_DEPTH_666) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()271 switch (hw_crtc_timing.display_color_depth) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()310 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()312 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dcn31_hpo_dp_stream_enc_set_stream_attribute()319 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()321 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dcn31_hpo_dp_stream_enc_set_stream_attribute()[all …]
1308 struct dc_crtc_timing *hw_crtc_timing) in optc1_get_hw_timing() argument1312 if (tg == NULL || hw_crtc_timing == NULL) in optc1_get_hw_timing()1317 hw_crtc_timing->h_total = s.h_total + 1; in optc1_get_hw_timing()1318 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); in optc1_get_hw_timing()1319 hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start; in optc1_get_hw_timing()1320 hw_crtc_timing->h_sync_width = s.h_sync_a_end - s.h_sync_a_start; in optc1_get_hw_timing()1322 hw_crtc_timing->v_total = s.v_total + 1; in optc1_get_hw_timing()1323 hw_crtc_timing->v_addressable = s.v_total - ((s.v_total - s.v_blank_start) + s.v_blank_end); in optc1_get_hw_timing()1324 hw_crtc_timing->v_front_porch = s.v_total + 1 - s.v_blank_start; in optc1_get_hw_timing()1325 hw_crtc_timing->v_sync_width = s.v_sync_a_end - s.v_sync_a_start; in optc1_get_hw_timing()
103 bool optc1_get_hw_timing(struct timing_generator *tg, struct dc_crtc_timing *hw_crtc_timing);
303 struct dc_crtc_timing *hw_crtc_timing);
1713 struct dc_crtc_timing hw_crtc_timing = {0}; in dc_validate_boot_timing() local1761 if (!tg->funcs->get_hw_timing(tg, &hw_crtc_timing)) in dc_validate_boot_timing()1764 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_boot_timing()1767 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_boot_timing()1770 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_boot_timing()1773 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_boot_timing()1776 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_boot_timing()1779 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_boot_timing()1782 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_boot_timing()1785 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_boot_timing()[all …]