Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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.c715 const struct dc_crtc_timing *crtc_timing) in dce110_link_encoder_validate_dvi_output() argument
730 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
737 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
739 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
742 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
746 switch (crtc_timing->display_color_depth) { in dce110_link_encoder_validate_dvi_output()
764 const struct dc_crtc_timing *crtc_timing, in dce110_link_encoder_validate_hdmi_output() argument
770 if (max_deep_color < crtc_timing->display_color_depth) in dce110_link_encoder_validate_hdmi_output()
773 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dce110_link_encoder_validate_hdmi_output()
784 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-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c533 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_dvi_set_stream_attribute() argument
546 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
571 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_set_stream_attribute()
572 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in enc3_stream_encoder_dvi_set_stream_attribute()
573 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_dvi_set_stream_attribute()
579 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_hdmi_set_stream_attribute() argument
618 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_hdmi_set_stream_attribute()
630 switch (crtc_timing->display_color_depth) { in enc3_stream_encoder_hdmi_set_stream_attribute()
635 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
646 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h134 struct dc_crtc_timing *crtc_timing,
141 struct dc_crtc_timing *crtc_timing,
147 struct dc_crtc_timing *crtc_timing,
152 struct dc_crtc_timing *crtc_timing);
312 struct dc_crtc_timing *crtc_timing,
/Linux-v6.6/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-v6.6/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.c567 const struct dc_crtc_timing *crtc_timing) in dcn10_link_encoder_validate_dvi_output() argument
582 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
589 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
591 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
594 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
598 switch (crtc_timing->display_color_depth) { in dcn10_link_encoder_validate_dvi_output()
616 const struct dc_crtc_timing *crtc_timing, in dcn10_link_encoder_validate_hdmi_output() argument
628 if (max_deep_color < crtc_timing->display_color_depth) in dcn10_link_encoder_validate_hdmi_output()
631 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dcn10_link_encoder_validate_hdmi_output()
642 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-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_edp_panel_control.h66 struct dc_crtc_timing *crtc_timing);
Dlink_edp_panel_control.c304 struct dc_crtc_timing *crtc_timing) in edp_is_ilr_optimization_required() argument
312 ASSERT(link || crtc_timing); // invalid input in edp_is_ilr_optimization_required()
336 req_bw = dc_bandwidth_in_kbps_from_timing(crtc_timing, dc_link_get_highest_encoding_format(link)); in edp_is_ilr_optimization_required()
338 if (!crtc_timing->flags.DSC) in edp_is_ilr_optimization_required()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.h101 struct dc_crtc_timing *crtc_timing,
Ddcn20_stream_encoder.c564 struct dc_crtc_timing *crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute() argument
572 crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc.c1619 struct dc_crtc_timing *crtc_timing) in dc_validate_boot_timing() argument
1675 if (crtc_timing->h_total != hw_crtc_timing.h_total) in dc_validate_boot_timing()
1678 if (crtc_timing->h_border_left != hw_crtc_timing.h_border_left) in dc_validate_boot_timing()
1681 if (crtc_timing->h_addressable != hw_crtc_timing.h_addressable) in dc_validate_boot_timing()
1684 if (crtc_timing->h_border_right != hw_crtc_timing.h_border_right) in dc_validate_boot_timing()
1687 if (crtc_timing->h_front_porch != hw_crtc_timing.h_front_porch) in dc_validate_boot_timing()
1690 if (crtc_timing->h_sync_width != hw_crtc_timing.h_sync_width) in dc_validate_boot_timing()
1693 if (crtc_timing->v_total != hw_crtc_timing.v_total) in dc_validate_boot_timing()
1696 if (crtc_timing->v_border_top != hw_crtc_timing.v_border_top) in dc_validate_boot_timing()
1699 if (crtc_timing->v_addressable != hw_crtc_timing.v_addressable) in dc_validate_boot_timing()
[all …]
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h292 struct dc_crtc_timing *crtc_timing);
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h1362 struct dc_crtc_timing *crtc_timing);