Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c276 struct dc_crtc_timing *crtc_timing, in dce110_stream_encoder_dp_set_stream_attribute() argument
295 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in dce110_stream_encoder_dp_set_stream_attribute()
525 struct dc_crtc_timing *crtc_timing) in dce110_stream_encoder_set_stream_attribute_helper() argument
528 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
538 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
554 struct dc_crtc_timing *crtc_timing, in dce110_stream_encoder_hdmi_set_stream_attribute() argument
567 cntl.color_depth = crtc_timing->display_color_depth; in dce110_stream_encoder_hdmi_set_stream_attribute()
573 dce110_stream_encoder_set_stream_attribute_helper(enc110, crtc_timing); in dce110_stream_encoder_hdmi_set_stream_attribute()
590 switch (crtc_timing->display_color_depth) { in dce110_stream_encoder_hdmi_set_stream_attribute()
595 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
[all …]
Ddce_link_encoder.c719 const struct dc_crtc_timing *crtc_timing) in dce110_link_encoder_validate_dvi_output() argument
734 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
741 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
743 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
746 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
750 switch (crtc_timing->display_color_depth) { in dce110_link_encoder_validate_dvi_output()
768 const struct dc_crtc_timing *crtc_timing, in dce110_link_encoder_validate_hdmi_output() argument
774 if (max_deep_color < crtc_timing->display_color_depth) in dce110_link_encoder_validate_hdmi_output()
777 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dce110_link_encoder_validate_hdmi_output()
788 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);
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c489 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_dvi_set_stream_attribute() argument
502 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
527 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_set_stream_attribute()
528 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in enc3_stream_encoder_dvi_set_stream_attribute()
529 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_dvi_set_stream_attribute()
535 struct dc_crtc_timing *crtc_timing, in enc3_stream_encoder_hdmi_set_stream_attribute() argument
574 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc3_stream_encoder_hdmi_set_stream_attribute()
586 switch (crtc_timing->display_color_depth) { in enc3_stream_encoder_hdmi_set_stream_attribute()
591 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
602 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_stream_encoder.c33 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_dp_set_stream_attribute() argument
40 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_hdmi_set_stream_attribute() argument
46 struct dc_crtc_timing *crtc_timing, in virtual_stream_encoder_dvi_set_stream_attribute() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c248 struct dc_crtc_timing *crtc_timing, in enc1_stream_encoder_dp_set_stream_attribute() argument
267 struct dc_crtc_timing hw_crtc_timing = *crtc_timing; in enc1_stream_encoder_dp_set_stream_attribute()
476 struct dc_crtc_timing *crtc_timing) in enc1_stream_encoder_set_stream_attribute_helper() argument
478 switch (crtc_timing->pixel_encoding) { in enc1_stream_encoder_set_stream_attribute_helper()
492 struct dc_crtc_timing *crtc_timing, in enc1_stream_encoder_hdmi_set_stream_attribute() argument
510 enc1_stream_encoder_set_stream_attribute_helper(enc1, crtc_timing); in enc1_stream_encoder_hdmi_set_stream_attribute()
522 switch (crtc_timing->display_color_depth) { in enc1_stream_encoder_hdmi_set_stream_attribute()
527 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
538 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
565 } else if (crtc_timing->flags.LTE_340MCSC_SCRAMBLE) { in enc1_stream_encoder_hdmi_set_stream_attribute()
[all …]
Ddcn10_link_encoder.c571 const struct dc_crtc_timing *crtc_timing) in dcn10_link_encoder_validate_dvi_output() argument
586 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
593 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
595 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
598 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
602 switch (crtc_timing->display_color_depth) { in dcn10_link_encoder_validate_dvi_output()
620 const struct dc_crtc_timing *crtc_timing, in dcn10_link_encoder_validate_hdmi_output() argument
632 if (max_deep_color < crtc_timing->display_color_depth) in dcn10_link_encoder_validate_hdmi_output()
635 if (crtc_timing->display_color_depth < COLOR_DEPTH_888) in dcn10_link_encoder_validate_hdmi_output()
646 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
[all …]
Ddcn10_link_encoder.h486 const struct dc_crtc_timing *crtc_timing);
490 const struct dc_crtc_timing *crtc_timing);
494 const struct dc_crtc_timing *crtc_timing);
498 const struct dc_crtc_timing *crtc_timing);
Ddcn10_stream_encoder.h575 struct dc_crtc_timing *crtc_timing,
582 struct dc_crtc_timing *crtc_timing,
588 struct dc_crtc_timing *crtc_timing,
655 struct dc_crtc_timing *crtc_timing);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c1157 struct dc_crtc_timing *crtc_timing) in dc_validate_seamless_boot_timing() argument
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()
1231 if (crtc_timing->v_addressable != hw_crtc_timing.v_addressable) in dc_validate_seamless_boot_timing()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.h99 struct dc_crtc_timing *crtc_timing,
Ddcn20_stream_encoder.c538 struct dc_crtc_timing *crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute() argument
546 crtc_timing, in enc2_stream_encoder_dp_set_stream_attribute()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h981 struct dc_crtc_timing *crtc_timing);