Home
last modified time | relevance | path

Searched refs:color_formats (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c260 …dsc_sink_caps->color_formats.raw = dpcd_dsc_basic_data[DP_DSC_DEC_COLOR_FORMAT_CAP - DP_DSC_SUPPOR… in dc_dsc_parse_dsc_dpcd()
384 dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 1; in get_dsc_enc_caps()
424 …dsc_common_caps->color_formats.raw = dsc_sink_caps->color_formats.raw & dsc_enc_caps->color_format… in intersect_dsc_caps()
425 if (!dsc_common_caps->color_formats.raw) in intersect_dsc_caps()
786 is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.RGB; in setup_dsc_config()
791 is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_444; in setup_dsc_config()
796 is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_NATIVE_422; in setup_dsc_config()
800 is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_SIMPLE_422; in setup_dsc_config()
806 is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_NATIVE_420; in setup_dsc_config()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Danalogix_dp-rockchip.c132 if ((di->color_formats & mask)) { in rockchip_dp_get_modes()
134 di->color_formats &= ~mask; in rockchip_dp_get_modes()
135 di->color_formats |= DRM_COLOR_FORMAT_RGB444; in rockchip_dp_get_modes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h88 union dsc_color_formats color_formats; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c122 dsc_enc_caps->color_formats.bits.RGB = 1; in dsc2_get_enc_caps()
123 dsc_enc_caps->color_formats.bits.YCBCR_444 = 1; in dsc2_get_enc_caps()
124 dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 1; in dsc2_get_enc_caps()
125 dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 0; in dsc2_get_enc_caps()
126 dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_420 = 1; in dsc2_get_enc_caps()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c21 u32 *color_depths, u32 *color_formats) in komeda_crtc_get_color_config() argument
33 conn_color_formats &= conn->display_info.color_formats; in komeda_crtc_get_color_config()
44 *color_formats = conn_color_formats; in komeda_crtc_get_color_config()
Dkomeda_kms.h171 u32 *color_depths, u32 *color_formats);
Dkomeda_wb_connector.c179 info->color_formats = kcrtc->master->improc->supported_color_formats; in komeda_wb_connector_add()
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2669 (info->color_formats & DRM_COLOR_FORMAT_YCBCR420); in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2727 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR444) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2734 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR422) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2737 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR444) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2744 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR422) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2747 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR444) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2753 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR422) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2756 if (info->color_formats & DRM_COLOR_FORMAT_YCBCR444) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c4374 info->color_formats |= DRM_COLOR_FORMAT_YCBCR420; in do_y420vdb_modes()
5063 info->color_formats |= DRM_COLOR_FORMAT_YCBCR420; in drm_parse_y420cmdb_bitmap()
5086 info->color_formats |= DRM_COLOR_FORMAT_YCBCR420; in drm_parse_y420cmdb_bitmap()
6000 info->color_formats = DRM_COLOR_FORMAT_RGB444; in drm_parse_cea_ext()
6002 info->color_formats |= DRM_COLOR_FORMAT_YCBCR444; in drm_parse_cea_ext()
6004 info->color_formats |= DRM_COLOR_FORMAT_YCBCR422; in drm_parse_cea_ext()
6159 info->color_formats = 0; in drm_reset_display_info()
6201 info->color_formats |= DRM_COLOR_FORMAT_RGB444; in update_display_info()
6251 info->color_formats |= DRM_COLOR_FORMAT_YCBCR444; in update_display_info()
6253 info->color_formats |= DRM_COLOR_FORMAT_YCBCR422; in update_display_info()
[all …]
/linux-6.1.9/include/drm/
Ddrm_connector.h561 u32 color_formats; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_types.h940 union dsc_color_formats color_formats; member
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1573 if (display_info->color_formats & DRM_COLOR_FORMAT_YCBCR444) in analogix_dp_bridge_mode_set()
1575 else if (display_info->color_formats & DRM_COLOR_FORMAT_YCBCR422) in analogix_dp_bridge_mode_set()
/linux-6.1.9/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1524 if (connector->display_info.color_formats && in cdns_mhdp_get_modes()
1525 !(connector->display_info.color_formats & in cdns_mhdp_get_modes()
1529 __func__, connector->display_info.color_formats); in cdns_mhdp_get_modes()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hdmi.c1705 if (!(info->color_formats & DRM_COLOR_FORMAT_RGB444)) in vc4_hdmi_sink_supports_format_bpc()
1725 if (!(info->color_formats & DRM_COLOR_FORMAT_YCBCR422)) { in vc4_hdmi_sink_supports_format_bpc()
1742 if (!(info->color_formats & DRM_COLOR_FORMAT_YCBCR444)) { in vc4_hdmi_sink_supports_format_bpc()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dp.c2256 u32 bpp = info->color_formats & DRM_COLOR_FORMAT_YCBCR422 ? 16 : 24; in mtk_dp_bridge_mode_valid()
2317 (display_info->color_formats & DRM_COLOR_FORMAT_YCBCR422)) { in mtk_dp_bridge_atomic_get_input_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/bridge/adv7511/
Dadv7511_drv.c225 if ((connector->display_info.color_formats & in adv7511_set_config_csc()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c5223 else if ((connector->display_info.color_formats & DRM_COLOR_FORMAT_YCBCR444) in fill_stream_properties_from_drm_display_mode()