Home
last modified time | relevance | path

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

12

/openbsd/sys/dev/pci/drm/amd/display/dc/link/
H A Dlink_validation.c43 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_tmds_output_pixel_clock_100hz()
45 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_tmds_output_pixel_clock_100hz()
66 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) in dp_active_dongle_validate_timing()
77 switch (timing->pixel_encoding) { in dp_active_dongle_validate_timing()
155 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) { in dp_active_dongle_validate_timing()
173 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR444) { in dp_active_dongle_validate_timing()
188 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dp_active_dongle_validate_timing()
203 } else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dp_active_dongle_validate_timing()
270 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && in dp_validate_mode_timing()
/openbsd/sys/dev/pci/drm/amd/display/dc/dce/
H A 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()
H A 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 …]
H A Ddce_link_encoder.c730 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
784 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
792 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
801 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_dp_output()
944 is_valid = stream->timing.pixel_encoding == PIXEL_ENCODING_RGB; in dce110_link_encoder_validate_output_with_stream()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/
H A 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()
319 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dcn31_hpo_dp_stream_enc_set_stream_attribute()
[all …]
H A Ddcn31_dccg.c564 (params->timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) || in dccg31_set_dtbclk_dto()
565 (params->timing->flags.DSC && params->timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in dccg31_set_dtbclk_dto()
/openbsd/sys/dev/pci/drm/amd/display/dc/dsc/
H A Ddc_dsc.c131 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dc_bandwidth_in_kbps_from_timing()
133 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) in dc_bandwidth_in_kbps_from_timing()
169 enum dc_pixel_encoding pixel_encoding,
460 timing->pixel_encoding, &dsc_common_caps); in dc_dsc_compute_bandwidth_range()
495 enum dc_pixel_encoding pixel_encoding, in intersect_dsc_caps() argument
544 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
556 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
875 …is_dsc_possible = intersect_dsc_caps(dsc_sink_caps, dsc_enc_caps, timing->pixel_encoding, &dsc_com… in setup_dsc_config()
885 switch (timing->pixel_encoding) { in setup_dsc_config()
1027 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn314/
H A 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()
H A Ddcn314_hwseq.c114 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in update_dsc_on_stream()
354 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn314_calculate_dccg_k1_k2_values()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/
H A 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()
237 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
239 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/
H A 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()
973 if (param->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in enc1_stream_encoder_dp_unblank()
H A Ddcn10_opp.c163 switch (params->pixel_encoding) { in opp1_set_pixel_encoding()
293 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in opp1_program_fmt()
H A Ddcn10_resource.c1017 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1019 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1022 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_pixel_clock_parameters()
1033 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1046 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
H A Ddcn10_link_encoder.c582 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
642 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
650 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
659 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn10_link_encoder_validate_dp_output()
815 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
H A Ddcn10_optc.c306 if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in optc1_program_timing()
308 else if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in optc1_program_timing()
1615 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in optc1_is_two_pixels_per_containter()
1617 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in optc1_is_two_pixels_per_containter()
/openbsd/sys/dev/pci/drm/apple/
H A Dparser.c312 s64 pixel_encoding; member
330 if (cmode->pixel_encoding < 0 || cmode->pixel_encoding >= DCP_COLOR_FORMAT_COUNT) in fill_color_mode()
336 color->format = cmode->pixel_encoding; in fill_color_mode()
376 ret = parse_int(it.handle, &cmode.pixel_encoding); in parse_color_modes()
396 cmode.pixel_encoding); in parse_color_modes()
399 if (cmode.pixel_encoding == DCP_COLOR_FORMAT_RGB && in parse_color_modes()
402 else if (cmode.pixel_encoding == DCP_COLOR_FORMAT_YCBCR444 && in parse_color_modes()
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/hw/
H A Dopp.h47 enum dc_pixel_encoding pixel_encoding; /* Pixel Encoding */ member
91 enum dc_pixel_encoding pixel_encoding; member
H A Ddsc.h40 enum dc_pixel_encoding pixel_encoding; member
/openbsd/sys/dev/pci/drm/amd/display/dc/dce110/
H A Ddce110_resource.c903 pixel_clk_params->flags.SUPPORT_YCBCR420 = (stream->timing.pixel_encoding == in get_pixel_clock_parameters()
905 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
906 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) { in get_pixel_clock_parameters()
909 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in get_pixel_clock_parameters()
926 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in dce110_resource_build_pipe_hw_param()
1080 if (context->streams[i]->timing.pixel_encoding in dce110_validate_surface_sets()
/openbsd/sys/dev/pci/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c343 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
362 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
/openbsd/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_resource.c3202 uint32_t pixel_encoding = 0; in set_avi_info_frame() local
3237 switch (stream->timing.pixel_encoding) { in set_avi_info_frame()
3239 pixel_encoding = 1; in set_avi_info_frame()
3243 pixel_encoding = 2; in set_avi_info_frame()
3246 pixel_encoding = 3; in set_avi_info_frame()
3251 pixel_encoding = 0; in set_avi_info_frame()
3256 hdmi_info.bits.Y0_Y1_Y2 = pixel_encoding; in set_avi_info_frame()
3810 enum dc_pixel_encoding pixel_encoding = in resource_build_bit_depth_reduction_params() local
3811 stream->timing.pixel_encoding; in resource_build_bit_depth_reduction_params()
3878 (pixel_encoding == PIXEL_ENCODING_RGB) ? 1 : 0; in resource_build_bit_depth_reduction_params()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/
H A Dclock_source.h97 enum dc_pixel_encoding pixel_encoding; member
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_dio_stream_encoder.c571 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_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()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1249 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1251 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1272 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1285 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
1681 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in dcn20_validate_dsc()
1944 pipe->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn20_validate_apply_pipe_split_flags()
H A Ddcn20_stream_encoder.c461 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
463 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()

12