Home
last modified time | relevance | path

Searched refs:pixel_encoding (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_stream_encoder.c192 enum dp2_pixel_encoding pixel_encoding; in dcn31_hpo_dp_stream_enc_set_stream_attribute() local
230 switch (hw_crtc_timing.pixel_encoding) { in dcn31_hpo_dp_stream_enc_set_stream_attribute()
232 pixel_encoding = DP_SYM32_ENC_PIXEL_ENCODING_YCBCR422; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
236 pixel_encoding = DP_SYM32_ENC_PIXEL_ENCODING_RGB_YCBCR444; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
240 pixel_encoding = DP_SYM32_ENC_PIXEL_ENCODING_Y_ONLY; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
251 pixel_encoding = DP_SYM32_ENC_PIXEL_ENCODING_YCBCR420; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
256 pixel_encoding = DP_SYM32_ENC_PIXEL_ENCODING_RGB_YCBCR444; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
295 UNCOMPRESSED_PIXEL_ENCODING, pixel_encoding, in dcn31_hpo_dp_stream_enc_set_stream_attribute()
310 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
312 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
[all …]
Ddcn31_dccg.c535 (params->timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) || in dccg31_set_dtbclk_dto()
536 (params->timing->flags.DSC && params->timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in dccg31_set_dtbclk_dto()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_opp.c115 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_truncation()
160 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce60_set_truncation()
485 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_pixel_encoding()
490 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in set_pixel_encoding()
519 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce60_set_pixel_encoding()
523 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dce60_set_pixel_encoding()
659 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_opp_program_fmt()
670 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_opp_program_fmt()
685 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce60_opp_program_fmt()
696 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce60_opp_program_fmt()
Ddce_stream_encoder.c297 switch (hw_crtc_timing.pixel_encoding) { in dce110_stream_encoder_dp_set_stream_attribute()
403 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dce110_stream_encoder_dp_set_stream_attribute()
405 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dce110_stream_encoder_dp_set_stream_attribute()
414 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dce110_stream_encoder_dp_set_stream_attribute()
416 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dce110_stream_encoder_dp_set_stream_attribute()
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()
576 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
587 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
670 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in dce110_stream_encoder_dvi_set_stream_attribute()
[all …]
Ddce_link_encoder.c731 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
785 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
793 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
802 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_dp_output()
947 pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dce110_link_encoder_validate_output_with_stream()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c74 enum dc_pixel_encoding pixel_encoding,
359 timing->pixel_encoding, &dsc_common_caps); in dc_dsc_compute_bandwidth_range()
394 enum dc_pixel_encoding pixel_encoding, in intersect_dsc_caps() argument
443 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
455 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
774 …is_dsc_possible = intersect_dsc_caps(dsc_sink_caps, dsc_enc_caps, timing->pixel_encoding, &dsc_com… in setup_dsc_config()
784 switch (timing->pixel_encoding) { in setup_dsc_config()
918 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config()
921 …if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) // For the case when pic_height < dsc_polic… in setup_dsc_config()
1059 switch (timing->pixel_encoding) { in dc_dsc_get_policy_for_timing()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dio_stream_encoder.c97 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc32_stream_encoder_dvi_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()
239 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
241 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dio_stream_encoder.c130 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc314_stream_encoder_dvi_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()
270 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
272 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()
Ddcn314_hwseq.c116 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in update_dsc_on_stream()
356 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn314_calculate_dccg_k1_k2_values()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c278 switch (hw_crtc_timing.pixel_encoding) { in enc1_stream_encoder_dp_set_stream_attribute()
380 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enc1_stream_encoder_dp_set_stream_attribute()
382 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in enc1_stream_encoder_dp_set_stream_attribute()
389 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enc1_stream_encoder_dp_set_stream_attribute()
391 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in enc1_stream_encoder_dp_set_stream_attribute()
469 switch (crtc_timing->pixel_encoding) { in enc1_stream_encoder_set_stream_attribute_helper()
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()
621 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc1_stream_encoder_dvi_set_stream_attribute()
966 if (param->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in enc1_stream_encoder_dp_unblank()
Ddcn10_opp.c162 switch (params->pixel_encoding) { in opp1_set_pixel_encoding()
289 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in opp1_program_fmt()
Ddcn10_resource.c1025 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1027 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1030 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_pixel_clock_parameters()
1041 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1054 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
Ddcn10_link_encoder.c583 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
643 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
651 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
660 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn10_link_encoder_validate_dp_output()
816 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
Ddcn10_optc.c292 if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in optc1_program_timing()
294 else if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in optc1_program_timing()
1606 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in optc1_is_two_pixels_per_containter()
1608 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in optc1_is_two_pixels_per_containter()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dopp.h47 enum dc_pixel_encoding pixel_encoding; /* Pixel Encoding */ member
91 enum dc_pixel_encoding pixel_encoding; member
Ddsc.h40 enum dc_pixel_encoding pixel_encoding; member
Dstream_encoder.h263 uint32_t pixel_encoding; member
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c340 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
359 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c902 pixel_clk_params->flags.SUPPORT_YCBCR420 = (stream->timing.pixel_encoding == in get_pixel_clock_parameters()
904 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
905 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) { in get_pixel_clock_parameters()
908 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in get_pixel_clock_parameters()
925 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in dce110_resource_build_pipe_hw_param()
1079 if (context->streams[i]->timing.pixel_encoding in dce110_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2289 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_norm_pix_clk()
2291 if (timing->pixel_encoding != PIXEL_ENCODING_YCBCR422) { in get_norm_pix_clk()
2703 uint32_t pixel_encoding = 0; in set_avi_info_frame() local
2723 color_space = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? in set_avi_info_frame()
2738 switch (stream->timing.pixel_encoding) { in set_avi_info_frame()
2740 pixel_encoding = 1; in set_avi_info_frame()
2744 pixel_encoding = 2; in set_avi_info_frame()
2747 pixel_encoding = 3; in set_avi_info_frame()
2752 pixel_encoding = 0; in set_avi_info_frame()
2757 hdmi_info.bits.Y0_Y1_Y2 = pixel_encoding; in set_avi_info_frame()
[all …]
Ddc_link.c2705 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enable_link_hdmi()
2813 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_timing_pixel_clock_100hz()
2815 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_timing_pixel_clock_100hz()
2836 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) in dp_active_dongle_validate_timing()
2847 switch (timing->pixel_encoding) { in dp_active_dongle_validate_timing()
2927 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) { in dp_active_dongle_validate_timing()
2945 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR444) { in dp_active_dongle_validate_timing()
2960 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dp_active_dongle_validate_timing()
2975 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dp_active_dongle_validate_timing()
4842 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dc_bandwidth_in_kbps_from_timing()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h97 enum dc_pixel_encoding pixel_encoding; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c531 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.c445 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
447 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()
Ddcn20_resource.c1263 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1265 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1286 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1299 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
1676 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in dcn20_validate_dsc()
1939 pipe->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn20_validate_apply_pipe_split_flags()

12