Searched refs:hw_crtc_timing (Results 1 – 6 of 6) sorted by relevance
267 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in enc1_stream_encoder_dp_set_stream_attribute() local269 if (hw_crtc_timing.flags.INTERLACE) { in enc1_stream_encoder_dp_set_stream_attribute()271 hw_crtc_timing.v_total /= 2; in enc1_stream_encoder_dp_set_stream_attribute()272 hw_crtc_timing.v_border_top /= 2; in enc1_stream_encoder_dp_set_stream_attribute()273 hw_crtc_timing.v_addressable /= 2; in enc1_stream_encoder_dp_set_stream_attribute()274 hw_crtc_timing.v_border_bottom /= 2; in enc1_stream_encoder_dp_set_stream_attribute()275 hw_crtc_timing.v_front_porch /= 2; in enc1_stream_encoder_dp_set_stream_attribute()276 hw_crtc_timing.v_sync_width /= 2; in enc1_stream_encoder_dp_set_stream_attribute()281 switch (hw_crtc_timing.pixel_encoding) { in enc1_stream_encoder_dp_set_stream_attribute()288 if (hw_crtc_timing.flags.Y_ONLY) in enc1_stream_encoder_dp_set_stream_attribute()[all …]
1288 struct dc_crtc_timing *hw_crtc_timing) in optc1_get_hw_timing() argument1292 if (tg == NULL || hw_crtc_timing == NULL) in optc1_get_hw_timing()1297 hw_crtc_timing->h_total = s.h_total + 1; in optc1_get_hw_timing()1298 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); in optc1_get_hw_timing()1299 hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start; in optc1_get_hw_timing()1300 hw_crtc_timing->h_sync_width = s.h_sync_a_end - s.h_sync_a_start; in optc1_get_hw_timing()1302 hw_crtc_timing->v_total = s.v_total + 1; in optc1_get_hw_timing()1303 hw_crtc_timing->v_addressable = s.v_total - ((s.v_total - s.v_blank_start) + s.v_blank_end); in optc1_get_hw_timing()1304 hw_crtc_timing->v_front_porch = s.v_total + 1 - s.v_blank_start; in optc1_get_hw_timing()1305 hw_crtc_timing->v_sync_width = s.v_sync_a_end - s.v_sync_a_start; in optc1_get_hw_timing()
611 struct dc_crtc_timing *hw_crtc_timing);
295 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dce110_stream_encoder_dp_set_stream_attribute() local296 if (hw_crtc_timing.flags.INTERLACE) { in dce110_stream_encoder_dp_set_stream_attribute()298 hw_crtc_timing.v_total /= 2; in dce110_stream_encoder_dp_set_stream_attribute()299 hw_crtc_timing.v_border_top /= 2; in dce110_stream_encoder_dp_set_stream_attribute()300 hw_crtc_timing.v_addressable /= 2; in dce110_stream_encoder_dp_set_stream_attribute()301 hw_crtc_timing.v_border_bottom /= 2; in dce110_stream_encoder_dp_set_stream_attribute()302 hw_crtc_timing.v_front_porch /= 2; in dce110_stream_encoder_dp_set_stream_attribute()303 hw_crtc_timing.v_sync_width /= 2; in dce110_stream_encoder_dp_set_stream_attribute()306 switch (hw_crtc_timing.pixel_encoding) { in dce110_stream_encoder_dp_set_stream_attribute()315 if (hw_crtc_timing.flags.Y_ONLY) in dce110_stream_encoder_dp_set_stream_attribute()[all …]
1162 struct dc_crtc_timing hw_crtc_timing = {0}; in dc_validate_seamless_boot_timing() local1204 if (!tg->funcs->get_hw_timing(tg, &hw_crtc_timing)) in dc_validate_seamless_boot_timing()1207 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_seamless_boot_timing()1210 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_seamless_boot_timing()1213 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_seamless_boot_timing()1216 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_seamless_boot_timing()1219 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_seamless_boot_timing()1222 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_seamless_boot_timing()1225 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_seamless_boot_timing()1228 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_seamless_boot_timing()[all …]
275 struct dc_crtc_timing *hw_crtc_timing);