Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/dce/
Ddce_opp.c117 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_truncation()
162 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce60_set_truncation()
487 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_pixel_encoding()
492 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in set_pixel_encoding()
521 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce60_set_pixel_encoding()
525 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dce60_set_pixel_encoding()
661 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_opp_program_fmt()
672 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_opp_program_fmt()
687 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce60_opp_program_fmt()
698 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce60_opp_program_fmt()
Ddce_stream_encoder.c305 switch (hw_crtc_timing.pixel_encoding) { in dce110_stream_encoder_dp_set_stream_attribute()
416 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dce110_stream_encoder_dp_set_stream_attribute()
418 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dce110_stream_encoder_dp_set_stream_attribute()
427 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in dce110_stream_encoder_dp_set_stream_attribute()
429 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in dce110_stream_encoder_dp_set_stream_attribute()
527 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
537 switch (crtc_timing->pixel_encoding) { in dce110_stream_encoder_set_stream_attribute_helper()
594 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
605 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in dce110_stream_encoder_hdmi_set_stream_attribute()
686 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in dce110_stream_encoder_dvi_set_stream_attribute()
[all …]
Ddce_link_encoder.c734 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dce110_link_encoder_validate_dvi_output()
788 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
795 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_hdmi_output()
804 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce110_link_encoder_validate_dp_output()
949 pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dce110_link_encoder_validate_output_with_stream()
/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c67 enum dc_pixel_encoding pixel_encoding,
357 timing->pixel_encoding, &dsc_common_caps); in dc_dsc_compute_bandwidth_range()
392 enum dc_pixel_encoding pixel_encoding, in intersect_dsc_caps() argument
441 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
453 if (pixel_encoding == PIXEL_ENCODING_YCBCR422 || pixel_encoding == PIXEL_ENCODING_YCBCR420) in intersect_dsc_caps()
793 …is_dsc_possible = intersect_dsc_caps(dsc_sink_caps, dsc_enc_caps, timing->pixel_encoding, &dsc_com… in setup_dsc_config()
803 switch (timing->pixel_encoding) { in setup_dsc_config()
933 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config()
936 …if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) // For the case when pic_height < dsc_polic… in setup_dsc_config()
1048 switch (timing->pixel_encoding) { in dc_dsc_get_policy_for_timing()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c281 switch (hw_crtc_timing.pixel_encoding) { in enc1_stream_encoder_dp_set_stream_attribute()
386 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enc1_stream_encoder_dp_set_stream_attribute()
388 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in enc1_stream_encoder_dp_set_stream_attribute()
396 if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enc1_stream_encoder_dp_set_stream_attribute()
398 else if (hw_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR444) in enc1_stream_encoder_dp_set_stream_attribute()
478 switch (crtc_timing->pixel_encoding) { in enc1_stream_encoder_set_stream_attribute_helper()
528 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
543 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc1_stream_encoder_hdmi_set_stream_attribute()
628 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc1_stream_encoder_dvi_set_stream_attribute()
949 if (param->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in enc1_stream_encoder_dp_unblank()
Ddcn10_opp.c164 switch (params->pixel_encoding) { in opp1_set_pixel_encoding()
291 if (clamping->pixel_encoding == PIXEL_ENCODING_YCBCR420) in opp1_program_fmt()
Ddcn10_resource.c1081 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1083 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1086 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_pixel_clock_parameters()
1097 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1110 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
Ddcn10_link_encoder.c586 if (crtc_timing->pixel_encoding != PIXEL_ENCODING_RGB) in dcn10_link_encoder_validate_dvi_output()
646 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
653 crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dcn10_link_encoder_validate_hdmi_output()
662 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn10_link_encoder_validate_dp_output()
818 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
Ddcn10_optc.c310 if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in optc1_program_timing()
312 else if (patched_crtc_timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in optc1_program_timing()
1614 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in optc1_is_two_pixels_per_containter()
1616 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in optc1_is_two_pixels_per_containter()
/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
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1886 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_norm_pix_clk()
1888 if (timing->pixel_encoding != PIXEL_ENCODING_YCBCR422) { in get_norm_pix_clk()
2241 uint32_t pixel_encoding = 0; in set_avi_info_frame() local
2259 color_space = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? in set_avi_info_frame()
2274 switch (stream->timing.pixel_encoding) { in set_avi_info_frame()
2276 pixel_encoding = 1; in set_avi_info_frame()
2280 pixel_encoding = 2; in set_avi_info_frame()
2283 pixel_encoding = 3; in set_avi_info_frame()
2288 pixel_encoding = 0; in set_avi_info_frame()
2293 hdmi_info.bits.Y0_Y1_Y2 = pixel_encoding; in set_avi_info_frame()
[all …]
Ddc_link_hwss.c450 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in dp_set_dsc_on_stream()
556 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in dp_set_dsc_pps_sdp()
Ddc_link.c2353 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in enable_link_hdmi()
2443 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in get_timing_pixel_clock_100hz()
2445 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_timing_pixel_clock_100hz()
2466 if (timing->pixel_encoding == PIXEL_ENCODING_RGB) in dp_active_dongle_validate_timing()
2479 switch (timing->pixel_encoding) { in dp_active_dongle_validate_timing()
3775 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) in dc_bandwidth_in_kbps_from_timing()
3777 else if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) in dc_bandwidth_in_kbps_from_timing()
Ddc_stream.c731 stream->timing.pixel_encoding, in dc_stream_log()
Ddc_link_dp.c2560 if (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && in dp_validate_mode_timing()
3060 pipe_ctx->stream->timing.pixel_encoding = PIXEL_ENCODING_RGB; in dp_test_send_link_test_pattern()
3063 pipe_ctx->stream->timing.pixel_encoding = PIXEL_ENCODING_YCBCR422; in dp_test_send_link_test_pattern()
3066 pipe_ctx->stream->timing.pixel_encoding = PIXEL_ENCODING_YCBCR444; in dp_test_send_link_test_pattern()
3069 pipe_ctx->stream->timing.pixel_encoding = PIXEL_ENCODING_RGB; in dp_test_send_link_test_pattern()
/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_dccg.c134 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420) || in dccg31_set_dtbclk_dto()
135 (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in dccg31_set_dtbclk_dto()
/drivers/gpu/drm/amd/display/modules/info_packet/
Dinfo_packet.c314 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
333 switch (stream->timing.pixel_encoding) { in mod_build_vsc_infopacket()
/drivers/gpu/drm/amd/display/dc/dce110/
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()
/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h97 enum dc_pixel_encoding pixel_encoding; member
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c526 ASSERT(crtc_timing->pixel_encoding == PIXEL_ENCODING_RGB); in enc3_stream_encoder_dvi_set_stream_attribute()
590 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
601 if (crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in enc3_stream_encoder_hdmi_set_stream_attribute()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_stream_encoder.c439 bool two_pix = timing->pixel_encoding == PIXEL_ENCODING_YCBCR420; in is_two_pixels_per_containter()
441 two_pix = two_pix || (timing->flags.DSC && timing->pixel_encoding == PIXEL_ENCODING_YCBCR422 in is_two_pixels_per_containter()
Ddcn20_resource.c1613 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding; in get_pixel_clock_parameters()
1615 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422) in get_pixel_clock_parameters()
1632 stream->clamping.pixel_encoding = stream->timing.pixel_encoding; in build_clamping_params()
1645 pipe_ctx->stream->clamping.pixel_encoding = pipe_ctx->stream->timing.pixel_encoding; in build_pipe_hw_param()
2162 switch (res_ctx->pipe_ctx[i].stream->timing.pixel_encoding) { in dcn20_populate_dml_pipes_from_context()
2474 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding; in dcn20_validate_dsc()
2737 pipe->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) { in dcn20_validate_apply_pipe_split_flags()
/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c257 if (pipe_ctx->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) in dce60_program_scaler()
/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h767 enum dc_pixel_encoding pixel_encoding; member

12