Home
last modified time | relevance | path

Searched refs:color_depth (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dbios_parser_types.h110 enum dc_color_depth color_depth; member
121 enum dc_color_depth color_depth; member
146 enum dc_color_depth color_depth; /* not used for DCE6.0 */ member
229 enum transmitter_color_depth color_depth; member
Daudio_types.h44 enum dc_color_depth color_depth; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h38 enum dc_color_depth color_depth; /* Bits per component */ member
78 union dsc_color_depth color_depth; member
Dopp.h222 enum dc_color_depth color_depth; /* clean up to uint32_t */ member
311 enum dc_color_depth color_depth,
Dhw_shared.h172 enum dc_color_depth color_depth; member
Dlink_encoder.h143 enum dc_color_depth color_depth,
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c228 dsc_common_caps->color_depth.raw = dsc_sink_caps->color_depth.raw & dsc_enc_caps->color_depth.raw; in intersect_dsc_caps()
229 if (!dsc_common_caps->color_depth.raw) in intersect_dsc_caps()
599 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_8_BPC; in setup_dsc_config()
602 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_10_BPC; in setup_dsc_config()
605 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_12_BPC; in setup_dsc_config()
746 dsc_sink_caps->color_depth.raw = dpcd_dsc_basic_data[DP_DSC_DEC_COLOR_DEPTH_CAP - DP_DSC_SUPPORT]; in dc_dsc_parse_dsc_dpcd()
/Linux-v5.4/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.h81 enum color_depth { enum
140 enum color_depth color_depth; member
Danalogix_dp_core.c1519 video->color_depth = COLOR_12; in analogix_dp_bridge_mode_set()
1522 video->color_depth = COLOR_10; in analogix_dp_bridge_mode_set()
1525 video->color_depth = COLOR_8; in analogix_dp_bridge_mode_set()
1528 video->color_depth = COLOR_6; in analogix_dp_bridge_mode_set()
1531 video->color_depth = COLOR_8; in analogix_dp_bridge_mode_set()
1555 &video->color_depth); in analogix_dp_bridge_mode_set()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c754 enum dc_color_depth color_depth; in dce_transform_set_pixel_storage_depth() local
758 color_depth = COLOR_DEPTH_666; in dce_transform_set_pixel_storage_depth()
763 color_depth = COLOR_DEPTH_888; in dce_transform_set_pixel_storage_depth()
768 color_depth = COLOR_DEPTH_101010; in dce_transform_set_pixel_storage_depth()
773 color_depth = COLOR_DEPTH_121212; in dce_transform_set_pixel_storage_depth()
778 color_depth = COLOR_DEPTH_101010; in dce_transform_set_pixel_storage_depth()
785 set_denormalization(xfm_dce, color_depth); in dce_transform_set_pixel_storage_depth()
786 program_bit_depth_reduction(xfm_dce, color_depth, bit_depth_params); in dce_transform_set_pixel_storage_depth()
Ddce_link_encoder.c918 enum dc_color_depth color_depth, in dce110_link_encoder_enable_tmds_output() argument
941 cntl.color_depth = color_depth; in dce110_link_encoder_enable_tmds_output()
1012 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce110_link_encoder_enable_dp_output()
1051 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce110_link_encoder_enable_dp_mst_output()
Ddce_clock_source.c409 switch (pix_clk_params->color_depth) { in pll_adjust_pix_clk()
546 switch (pix_clk_params->color_depth) { in dce112_get_pix_clk_dividers_helper()
894 pix_clk_params->color_depth); in dce110_program_pix_clk()
955 pix_clk_params->color_depth, in dce112_program_pix_clk()
/Linux-v5.4/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c107 u32 color_depth; member
410 bpp = ctrl->color_depth * 3; in edp_fill_link_cfg()
446 if (ctrl->color_depth == 8) in edp_config_ctrl()
706 bpp = ctrl->color_depth * 3; in edp_link_rate_down_shift()
828 if (ctrl->color_depth == 8) in edp_clock_synchrous()
830 else if (ctrl->color_depth == 10) in edp_clock_synchrous()
832 else if (ctrl->color_depth == 12) in edp_clock_synchrous()
834 else if (ctrl->color_depth == 16) in edp_clock_synchrous()
1269 ctrl->color_depth = info->bpc; in msm_edp_ctrl_timing_cfg()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_opp.c44 enum dc_color_depth color_depth, in opp2_set_disp_pattern_generator() argument
71 switch (color_depth) { in opp2_set_disp_pattern_generator()
Ddcn20_dsc.c125 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_8_BPC = 1; in dsc2_get_enc_caps()
126 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_10_BPC = 1; in dsc2_get_enc_caps()
127 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_12_BPC = 1; in dsc2_get_enc_caps()
184 DC_LOG_DSC("\tcolor_depth %d", config->color_depth); in dsc_config_log()
347 …c_reg_vals->pps.bits_per_component = dsc_dc_color_depth_to_dsc_bits_per_comp(dsc_cfg->color_depth); in dsc_prepare_config()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c123 switch (cntl->color_depth) { in encoder_control_digx_v1_5()
141 switch (cntl->color_depth) { in encoder_control_digx_v1_5()
309 bp_params->color_depth); in set_pixel_clock_v7()
314 pll_id, bp_params->color_depth); in set_pixel_clock_v7()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c463 enum dc_color_depth color_depth) in set_Denormalization() argument
467 switch (color_depth) { in set_Denormalization()
718 set_Denormalization(xfm, default_adjust->color_depth); in dce110_opp_v_set_csc_default()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h43 int color_depth; member
Dcdn-dp-reg.c606 switch (video->color_depth) { in cdn_dp_get_msa_misc()
640 (video->color_depth * 2) : (video->color_depth * 3); in cdn_dp_config_video()
688 switch (video->color_depth) { in cdn_dp_config_video()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_link_encoder.c46 enum dc_color_depth color_depth, in virtual_link_encoder_enable_tmds_output() argument
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c912 enum dc_color_depth color_depth, in dcn10_link_encoder_enable_tmds_output() argument
935 cntl.color_depth = color_depth; in dcn10_link_encoder_enable_tmds_output()
974 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dcn10_link_encoder_enable_dp_output()
1013 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dcn10_link_encoder_enable_dp_mst_output()
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c972 int color_depth = 0; in hdmi_video_csc() local
984 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_24BPP; in hdmi_video_csc()
987 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_30BPP; in hdmi_video_csc()
990 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_36BPP; in hdmi_video_csc()
993 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_48BPP; in hdmi_video_csc()
1002 hdmi_modb(hdmi, color_depth, HDMI_CSC_SCALE_CSC_COLORDE_PTH_MASK, in hdmi_video_csc()
1015 unsigned int color_depth = 0; in hdmi_video_packetize() local
1027 color_depth = 4; in hdmi_video_packetize()
1031 color_depth = 5; in hdmi_video_packetize()
1034 color_depth = 6; in hdmi_video_packetize()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h94 enum dc_color_depth color_depth; member
/Linux-v5.4/drivers/gpu/drm/udl/
Dudl_modeset.c308 int color_depth = 0; in udl_crtc_mode_set() local
323 wrptr = udl_set_color_depth(wrptr, color_depth); in udl_crtc_mode_set()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_dp_helper.c1467 u8 color_depth = dsc_dpcd[DP_DSC_DEC_COLOR_DEPTH_CAP - DP_DSC_SUPPORT]; in drm_dp_dsc_sink_supported_input_bpcs() local
1469 if (color_depth & DP_DSC_12_BPC) in drm_dp_dsc_sink_supported_input_bpcs()
1471 if (color_depth & DP_DSC_10_BPC) in drm_dp_dsc_sink_supported_input_bpcs()
1473 if (color_depth & DP_DSC_8_BPC) in drm_dp_dsc_sink_supported_input_bpcs()

123