/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dio_stream_encoder.c | 65 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/ |
D | dcn314_dio_stream_encoder.c | 98 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/ |
D | dce_stream_encoder.c | 269 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 …]
|
D | dce_link_encoder.c | 716 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 …]
|
D | dce_link_encoder.h | 216 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/ |
D | stream_encoder.h | 126 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/ |
D | dcn30_dio_stream_encoder.c | 493 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/ |
D | virtual_stream_encoder.c | 31 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/ |
D | dcn10_stream_encoder.c | 247 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 …]
|
D | dcn10_link_encoder.c | 568 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 …]
|
D | dcn10_link_encoder.h | 519 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);
|
D | dcn10_stream_encoder.h | 620 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/ |
D | dc.c | 1521 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 …]
|
D | dc_link_dp.c | 6752 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/ |
D | dcn20_stream_encoder.h | 101 struct dc_crtc_timing *crtc_timing,
|
D | dcn20_stream_encoder.c | 547 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/ |
D | dcn31_hpo_dp_stream_encoder.c | 186 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/ |
D | dc_link_dp.h | 99 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/ |
D | dc.h | 1285 struct dc_crtc_timing *crtc_timing);
|