Home
last modified time | relevance | path

Searched refs:crtc_timing (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dio_stream_encoder.c65 struct dc_crtc_timing *crtc_timing, in enc32_stream_encoder_dvi_set_stream_attribute() argument
78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc32_stream_encoder_dvi_set_stream_attribute()
97 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc32_stream_encoder_dvi_set_stream_attribute()
98 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in enc32_stream_encoder_dvi_set_stream_attribute()
99 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc32_stream_encoder_dvi_set_stream_attribute()
105 struct dc_crtc_timing *crtc_timing, in enc32_stream_encoder_hdmi_set_stream_attribute() argument
138 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc32_stream_encoder_hdmi_set_stream_attribute()
150 switch (crtc_timing->display_color_depth) { in enc32_stream_encoder_hdmi_set_stream_attribute()
155 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc32_stream_encoder_hdmi_set_stream_attribute()
166 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc32_stream_encoder_hdmi_set_stream_attribute()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dio_stream_encoder.c98 struct dc_crtc_timing *crtc_timing, in enc314_stream_encoder_dvi_set_stream_attribute() argument
111 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc314_stream_encoder_dvi_set_stream_attribute()
130 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc314_stream_encoder_dvi_set_stream_attribute()
131 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in enc314_stream_encoder_dvi_set_stream_attribute()
132 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc314_stream_encoder_dvi_set_stream_attribute()
138 struct dc_crtc_timing *crtc_timing, in enc314_stream_encoder_hdmi_set_stream_attribute() argument
171 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc314_stream_encoder_hdmi_set_stream_attribute()
183 switch (crtc_timing->display_color_depth) { in enc314_stream_encoder_hdmi_set_stream_attribute()
188 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc314_stream_encoder_hdmi_set_stream_attribute()
199 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc314_stream_encoder_hdmi_set_stream_attribute()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c269 struct dc_crtc_timing *crtc_timing, in dce110_stream_encoder_dp_set_stream_attribute() argument
286 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dce110_stream_encoder_dp_set_stream_attribute()
506 struct dc_crtc_timing *crtc_timing) in dce110_stream_encoder_set_stream_attribute_helper() argument
509 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
519 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
535 struct dc_crtc_timing *crtc_timing, in dce110_stream_encoder_hdmi_set_stream_attribute() argument
548 cntl.color_depth = crtc_timing->display_color_depth; in dce110_stream_encoder_hdmi_set_stream_attribute()
554 dce110_stream_encoder_set_stream_attribute_helper(enc110, crtc_timing); in dce110_stream_encoder_hdmi_set_stream_attribute()
571 switch (crtc_timing->display_color_depth) { in dce110_stream_encoder_hdmi_set_stream_attribute()
576 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
[all …]
Ddce_link_encoder.c716 const struct dc_crtc_timing *crtc_timing) in dce110_link_encoder_validate_dvi_output() argument
731 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
738 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
740 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
743 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
747 switch (crtc_timing->display_color_depth) { in dce110_link_encoder_validate_dvi_output()
765 const struct dc_crtc_timing *crtc_timing, in dce110_link_encoder_validate_hdmi_output() argument
771 if (max_deep_color < crtc_timing->display_color_depth) in dce110_link_encoder_validate_hdmi_output()
774 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dce110_link_encoder_validate_hdmi_output()
785 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
[all …]
Ddce_link_encoder.h216 const struct dc_crtc_timing *crtc_timing);
220 const struct dc_crtc_timing *crtc_timing);
224 const struct dc_crtc_timing *crtc_timing);
228 const struct dc_crtc_timing *crtc_timing);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h126 struct dc_crtc_timing *crtc_timing,
133 struct dc_crtc_timing *crtc_timing,
139 struct dc_crtc_timing *crtc_timing,
144 struct dc_crtc_timing *crtc_timing);
296 struct dc_crtc_timing *crtc_timing,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c493 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_dvi_set_stream_attribute() argument
506 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
531 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_set_stream_attribute()
532 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in enc3_stream_encoder_dvi_set_stream_attribute()
533 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_dvi_set_stream_attribute()
539 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_hdmi_set_stream_attribute() argument
578 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_hdmi_set_stream_attribute()
590 switch (crtc_timing->display_color_depth) { in enc3_stream_encoder_hdmi_set_stream_attribute()
595 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
606 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_stream_encoder.c31 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_dp_set_stream_attribute() argument
38 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_hdmi_set_stream_attribute() argument
44 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_dvi_set_stream_attribute() argument
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c247 struct dc_crtc_timing *crtc_timing, in enc1_stream_encoder_dp_set_stream_attribute() argument
264 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in enc1_stream_encoder_dp_set_stream_attribute()
467 struct dc_crtc_timing *crtc_timing) in enc1_stream_encoder_set_stream_attribute_helper() argument
469 switch (crtc_timing->pixel_encoding) { in enc1_stream_encoder_set_stream_attribute_helper()
483 struct dc_crtc_timing *crtc_timing, in enc1_stream_encoder_hdmi_set_stream_attribute() argument
501 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc1_stream_encoder_hdmi_set_stream_attribute()
513 switch (crtc_timing->display_color_depth) { in enc1_stream_encoder_hdmi_set_stream_attribute()
519 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
534 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
567 } else if (crtc_timing->flags.LTE_340MCSC_SCRAMBLE) { in enc1_stream_encoder_hdmi_set_stream_attribute()
[all …]
Ddcn10_link_encoder.c568 const struct dc_crtc_timing *crtc_timing) in dcn10_link_encoder_validate_dvi_output() argument
583 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
590 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
592 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
595 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
599 switch (crtc_timing->display_color_depth) { in dcn10_link_encoder_validate_dvi_output()
617 const struct dc_crtc_timing *crtc_timing, in dcn10_link_encoder_validate_hdmi_output() argument
629 if (max_deep_color < crtc_timing->display_color_depth) in dcn10_link_encoder_validate_hdmi_output()
632 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dcn10_link_encoder_validate_hdmi_output()
643 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
[all …]
Ddcn10_link_encoder.h519 const struct dc_crtc_timing *crtc_timing);
523 const struct dc_crtc_timing *crtc_timing);
527 const struct dc_crtc_timing *crtc_timing);
531 const struct dc_crtc_timing *crtc_timing);
Ddcn10_stream_encoder.h620 struct dc_crtc_timing *crtc_timing,
627 struct dc_crtc_timing *crtc_timing,
633 struct dc_crtc_timing *crtc_timing,
705 struct dc_crtc_timing *crtc_timing);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc.c1521 struct dc_crtc_timing *crtc_timing) in dc_validate_boot_timing() argument
1571 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_boot_timing()
1574 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_boot_timing()
1577 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_boot_timing()
1580 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_boot_timing()
1583 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_boot_timing()
1586 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_boot_timing()
1589 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_boot_timing()
1592 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_boot_timing()
1595 if (crtc_timing->v_addressable != hw_crtc_timing.v_addressable) in dc_validate_boot_timing()
[all …]
Ddc_link_dp.c6752 bool is_edp_ilr_optimization_required(struct dc_link *link, struct dc_crtc_timing *crtc_timing) in is_edp_ilr_optimization_required() argument
6760 ASSERT(link || crtc_timing); // invalid input in is_edp_ilr_optimization_required()
6784 req_bw = dc_bandwidth_in_kbps_from_timing(crtc_timing); in is_edp_ilr_optimization_required()
6786 if (!crtc_timing->flags.DSC) in is_edp_ilr_optimization_required()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.h101 struct dc_crtc_timing *crtc_timing,
Ddcn20_stream_encoder.c547 struct dc_crtc_timing *crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute() argument
555 crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_stream_encoder.c186 struct dc_crtc_timing *crtc_timing, in dcn31_hpo_dp_stream_enc_set_stream_attribute() argument
207 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_dp.h99 bool is_edp_ilr_optimization_required(struct dc_link *link, struct dc_crtc_timing *crtc_timing);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h1285 struct dc_crtc_timing *crtc_timing);