Searched refs:hw_crtc_timing (Results 1 – 8 of 8) 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 …]
264 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in enc1_stream_encoder_dp_set_stream_attribute() local266 if (hw_crtc_timing.flags.INTERLACE) { in enc1_stream_encoder_dp_set_stream_attribute()268 hw_crtc_timing.v_total /= 2; in enc1_stream_encoder_dp_set_stream_attribute()269 hw_crtc_timing.v_border_top /= 2; in enc1_stream_encoder_dp_set_stream_attribute()270 hw_crtc_timing.v_addressable /= 2; in enc1_stream_encoder_dp_set_stream_attribute()271 hw_crtc_timing.v_border_bottom /= 2; in enc1_stream_encoder_dp_set_stream_attribute()272 hw_crtc_timing.v_front_porch /= 2; in enc1_stream_encoder_dp_set_stream_attribute()273 hw_crtc_timing.v_sync_width /= 2; in enc1_stream_encoder_dp_set_stream_attribute()278 switch (hw_crtc_timing.pixel_encoding) { in enc1_stream_encoder_dp_set_stream_attribute()285 if (hw_crtc_timing.flags.Y_ONLY) in enc1_stream_encoder_dp_set_stream_attribute()[all …]
1294 struct dc_crtc_timing *hw_crtc_timing) in optc1_get_hw_timing() argument1298 if (tg == NULL || hw_crtc_timing == NULL) in optc1_get_hw_timing()1303 hw_crtc_timing->h_total = s.h_total + 1; in optc1_get_hw_timing()1304 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); in optc1_get_hw_timing()1305 hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start; in optc1_get_hw_timing()1306 hw_crtc_timing->h_sync_width = s.h_sync_a_end - s.h_sync_a_start; in optc1_get_hw_timing()1308 hw_crtc_timing->v_total = s.v_total + 1; in optc1_get_hw_timing()1309 hw_crtc_timing->v_addressable = s.v_total - ((s.v_total - s.v_blank_start) + s.v_blank_end); in optc1_get_hw_timing()1310 hw_crtc_timing->v_front_porch = s.v_total + 1 - s.v_blank_start; in optc1_get_hw_timing()1311 hw_crtc_timing->v_sync_width = s.v_sync_a_end - s.v_sync_a_start; in optc1_get_hw_timing()
2093 struct dc_crtc_timing *hw_crtc_timing; in dcn10_align_pixel_clocks() local2104 hw_crtc_timing = kcalloc(MAX_PIPES, sizeof(*hw_crtc_timing), GFP_KERNEL); in dcn10_align_pixel_clocks()2105 if (!hw_crtc_timing) in dcn10_align_pixel_clocks()2120 &hw_crtc_timing[i]); in dcn10_align_pixel_clocks()2125 hw_crtc_timing[i].pix_clk_100hz = pclk; in dcn10_align_pixel_clocks()2135 hw_crtc_timing[i].h_total* in dcn10_align_pixel_clocks()2136 hw_crtc_timing[i].v_total; in dcn10_align_pixel_clocks()2172 kfree(hw_crtc_timing); in dcn10_align_pixel_clocks()
596 struct dc_crtc_timing *hw_crtc_timing);
286 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dce110_stream_encoder_dp_set_stream_attribute() local287 if (hw_crtc_timing.flags.INTERLACE) { in dce110_stream_encoder_dp_set_stream_attribute()289 hw_crtc_timing.v_total /= 2; in dce110_stream_encoder_dp_set_stream_attribute()290 hw_crtc_timing.v_border_top /= 2; in dce110_stream_encoder_dp_set_stream_attribute()291 hw_crtc_timing.v_addressable /= 2; in dce110_stream_encoder_dp_set_stream_attribute()292 hw_crtc_timing.v_border_bottom /= 2; in dce110_stream_encoder_dp_set_stream_attribute()293 hw_crtc_timing.v_front_porch /= 2; in dce110_stream_encoder_dp_set_stream_attribute()294 hw_crtc_timing.v_sync_width /= 2; in dce110_stream_encoder_dp_set_stream_attribute()297 switch (hw_crtc_timing.pixel_encoding) { in dce110_stream_encoder_dp_set_stream_attribute()306 if (hw_crtc_timing.flags.Y_ONLY) in dce110_stream_encoder_dp_set_stream_attribute()[all …]
1515 struct dc_crtc_timing hw_crtc_timing = {0}; in dc_validate_boot_timing() local1557 if (!tg->funcs->get_hw_timing(tg, &hw_crtc_timing)) in dc_validate_boot_timing()1560 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_boot_timing()1563 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_boot_timing()1566 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_boot_timing()1569 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_boot_timing()1572 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_boot_timing()1575 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_boot_timing()1578 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_boot_timing()1581 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_boot_timing()[all …]
292 struct dc_crtc_timing *hw_crtc_timing);