Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_gvi.c64 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_18BIT; in rk628_gvi_get_info()
68 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_24BIT; in rk628_gvi_get_info()
72 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_30BIT; in rk628_gvi_get_info()
76 gvi->color_depth = COLOR_DEPTH_YUV422_16BIT; in rk628_gvi_get_info()
80 gvi->color_depth = COLOR_DEPTH_YUV422_20BIT; in rk628_gvi_get_info()
84 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_24BIT; in rk628_gvi_get_info()
219 rate, gvi->lanes, gvi->byte_mode, gvi->color_depth, in rk628_gvi_enable()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_dw_hdmi_qp.c780 unsigned int color_depth = 8; in drm_rk_select_color() local
842 color_depth = screen_info->depth; in drm_rk_select_color()
847 if (color_format == DRM_HDMI_OUTPUT_YCBCR422 || color_depth == 8) in drm_rk_select_color()
850 tmdsclock = pixclock * color_depth / 8; in drm_rk_select_color()
865 color_depth = 8; in drm_rk_select_color()
870 color_depth = 8; in drm_rk_select_color()
877 if (color_depth > 8 && support_dc) { in drm_rk_select_color()
923 int color_depth; in dw_hdmi_qp_selete_output() local
1058 color_depth = hdmi_bus_fmt_color_depth(*bus_format); in dw_hdmi_qp_selete_output()
1075 if (color_depth == 10) in dw_hdmi_qp_selete_output()
[all …]
H A Drockchip_dw_hdmi.c214 unsigned int color_depth = 8; in drm_rk_select_color() local
276 color_depth = screen_info->depth; in drm_rk_select_color()
278 if (color_format == DRM_HDMI_OUTPUT_YCBCR422 || color_depth == 8) in drm_rk_select_color()
281 tmdsclock = pixclock * color_depth / 8; in drm_rk_select_color()
304 color_depth = 8; in drm_rk_select_color()
309 color_depth = 8; in drm_rk_select_color()
315 if (color_depth > 8 && support_dc) { in drm_rk_select_color()
H A Ddw_hdmi.c1276 int color_depth = 0; in hdmi_video_csc() local
1288 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_24BPP; in hdmi_video_csc()
1291 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_30BPP; in hdmi_video_csc()
1294 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_36BPP; in hdmi_video_csc()
1297 color_depth = HDMI_CSC_SCALE_CSC_COLORDE_PTH_48BPP; in hdmi_video_csc()
1306 hdmi_modb(hdmi, color_depth, HDMI_CSC_SCALE_CSC_COLORDE_PTH_MASK, in hdmi_video_csc()
1403 unsigned int color_depth = 0; in hdmi_video_packetize() local
1415 color_depth = 0; in hdmi_video_packetize()
1419 color_depth = 5; in hdmi_video_packetize()
1422 color_depth = 6; in hdmi_video_packetize()
[all …]
H A Danalogix_dp.h527 enum color_depth { enum
586 enum color_depth color_depth; member
H A Ddw_mipi_dsi2.c511 u32 val, color_depth; in dw_mipi_dsi2_ipi_color_coding_cfg() local
516 color_depth = IPI_DEPTH_6_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg()
519 color_depth = IPI_DEPTH_5_6_5_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg()
523 color_depth = IPI_DEPTH_8_BITS; in dw_mipi_dsi2_ipi_color_coding_cfg()
527 val = IPI_DEPTH(color_depth) | in dw_mipi_dsi2_ipi_color_coding_cfg()
530 grf_field_write(dsi2, IPI_COLOR_DEPTH, color_depth); in dw_mipi_dsi2_ipi_color_coding_cfg()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c987 enum dc_color_depth color_depth; in dce_transform_set_pixel_storage_depth() local
991 color_depth = COLOR_DEPTH_666; in dce_transform_set_pixel_storage_depth()
996 color_depth = COLOR_DEPTH_888; in dce_transform_set_pixel_storage_depth()
1001 color_depth = COLOR_DEPTH_101010; in dce_transform_set_pixel_storage_depth()
1006 color_depth = COLOR_DEPTH_121212; in dce_transform_set_pixel_storage_depth()
1011 color_depth = COLOR_DEPTH_101010; in dce_transform_set_pixel_storage_depth()
1018 set_denormalization(xfm_dce, color_depth); in dce_transform_set_pixel_storage_depth()
1019 program_bit_depth_reduction(xfm_dce, color_depth, bit_depth_params); in dce_transform_set_pixel_storage_depth()
1041 enum dc_color_depth color_depth; in dce60_transform_set_pixel_storage_depth() local
1045 color_depth = COLOR_DEPTH_666; in dce60_transform_set_pixel_storage_depth()
[all …]
H A 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()
876 switch (pix_clk_params->color_depth) { in dce110_program_pix_clk()
878 bp_pc_params.color_depth = TRANSMITTER_COLOR_DEPTH_30; in dce110_program_pix_clk()
881 bp_pc_params.color_depth = TRANSMITTER_COLOR_DEPTH_36; in dce110_program_pix_clk()
884 bp_pc_params.color_depth = TRANSMITTER_COLOR_DEPTH_48; in dce110_program_pix_clk()
910 pix_clk_params->color_depth); in dce110_program_pix_clk()
971 pix_clk_params->color_depth, in dce112_program_pix_clk()
1144 switch (pix_clk_params->color_depth) { in dcn3_get_pix_clk_dividers()
H A Ddce_link_encoder.c1054 enum dc_color_depth color_depth, in dce110_link_encoder_enable_tmds_output() argument
1077 cntl.color_depth = color_depth; in dce110_link_encoder_enable_tmds_output()
1148 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce110_link_encoder_enable_dp_output()
1187 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce110_link_encoder_enable_dp_mst_output()
1227 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce60_link_encoder_enable_dp_output()
1266 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dce60_link_encoder_enable_dp_mst_output()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/include/
H A Dbios_parser_types.h117 enum dc_color_depth color_depth; member
128 enum dc_color_depth color_depth; member
153 enum dc_color_depth color_depth; /* not used for DCE6.0 */ member
236 enum transmitter_color_depth color_depth; member
H A Daudio_types.h44 enum dc_color_depth color_depth; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dsc/
H A Ddc_dsc.c276 dsc_common_caps->color_depth.raw = dsc_sink_caps->color_depth.raw & dsc_enc_caps->color_depth.raw; in intersect_dsc_caps()
277 if (!dsc_common_caps->color_depth.raw) in intersect_dsc_caps()
639 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_8_BPC; in setup_dsc_config()
642 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_10_BPC; in setup_dsc_config()
645 is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_12_BPC; in setup_dsc_config()
789 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_gvi.c247 u8 color_depth; member
286 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_18BIT; in rk628_gvi_connector_get_modes()
290 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_24BIT; in rk628_gvi_connector_get_modes()
294 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_30BIT; in rk628_gvi_connector_get_modes()
298 gvi->color_depth = COLOR_DEPTH_YUV422_16BIT; in rk628_gvi_connector_get_modes()
302 gvi->color_depth = COLOR_DEPTH_YUV422_20BIT; in rk628_gvi_connector_get_modes()
306 gvi->color_depth = COLOR_DEPTH_RGB_YUV444_24BIT; in rk628_gvi_connector_get_modes()
479 gvi->color_depth, gvi->division_mode ? "two" : "one"); in rk628_gvi_bridge_enable()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddsc.h41 enum dc_color_depth color_depth; /* Bits per component */ member
87 union dsc_color_depth color_depth; member
H A Dopp.h223 enum dc_color_depth color_depth; /* clean up to uint32_t */ member
310 enum dc_color_depth color_depth,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_core.h85 enum color_depth { enum
138 enum color_depth color_depth; member
/OK3568_Linux_fs/u-boot/include/
H A Dvbe.h21 u8 color_depth; /* color depth in bits per pixel */ member
31 u8 color_depth; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c1882 int color_depth; in rk3588_set_grf_cfg() local
1885 color_depth = hdmi_bus_fmt_color_depth(hdmi->bus_format); in rk3588_set_grf_cfg()
1886 rk3588_set_color_format(hdmi, hdmi->bus_format, color_depth); in rk3588_set_grf_cfg()
1949 unsigned int color_depth; in dw_hdmi_rockchip_select_output() local
2024 color_depth = 10; in dw_hdmi_rockchip_select_output()
2026 color_depth = 8; in dw_hdmi_rockchip_select_output()
2030 color_depth = 8; in dw_hdmi_rockchip_select_output()
2065 if ((yuv422_out || hdmi->hdmi_output == RK_IF_FORMAT_YCBCR_HQ) && color_depth == 10 && in dw_hdmi_rockchip_select_output()
2082 if (*color_format == RK_IF_FORMAT_YCBCR422 || color_depth == 8) in dw_hdmi_rockchip_select_output()
2085 tmdsclock = pixclock * (color_depth) / 8; in dw_hdmi_rockchip_select_output()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/edp/
H A Dedp_ctrl.c106 u32 color_depth; member
409 bpp = ctrl->color_depth * 3; in edp_fill_link_cfg()
445 if (ctrl->color_depth == 8) in edp_config_ctrl()
705 bpp = ctrl->color_depth * 3; in edp_link_rate_down_shift()
831 if (ctrl->color_depth == 8) in edp_clock_synchrous()
833 else if (ctrl->color_depth == 10) in edp_clock_synchrous()
835 else if (ctrl->color_depth == 12) in edp_clock_synchrous()
837 else if (ctrl->color_depth == 16) in edp_clock_synchrous()
1298 ctrl->color_depth = info->bpc; in msm_edp_ctrl_timing_cfg()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_opp.c45 enum dc_color_depth color_depth, in opp2_set_disp_pattern_generator() argument
73 switch (color_depth) { in opp2_set_disp_pattern_generator()
H A Ddcn20_dsc.c124 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_8_BPC = 1; in dsc2_get_enc_caps()
125 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_10_BPC = 1; in dsc2_get_enc_caps()
126 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_12_BPC = 1; in dsc2_get_enc_caps()
188 DC_LOG_DSC("\tcolor_depth %d", config->color_depth); in dsc_config_log()
373 …c_reg_vals->pps.bits_per_component = dsc_dc_color_depth_to_dsc_bits_per_comp(dsc_cfg->color_depth); in dsc_prepare_config()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/bios/
H A Dcommand_table.c248 switch (cntl->color_depth) { in encoder_control_digx_v3()
294 switch (cntl->color_depth) { in encoder_control_digx_v4()
334 switch (cntl->color_depth) { in encoder_control_digx_v5()
352 switch (cntl->color_depth) { in encoder_control_digx_v5()
844 switch (cntl->color_depth) { in transmitter_control_v1_5()
903 switch (cntl->color_depth) { in transmitter_control_v1_6()
1095 switch (bp_params->color_depth) { in set_pixel_clock_v5()
1186 switch (bp_params->color_depth) { in set_pixel_clock_v6()
1246 …DeepColorRatio = (uint8_t) bp->cmd_helper->transmitter_color_depth_to_atom(bp_params->color_depth); in set_pixel_clock_v7()
2261 (uint8_t)(cntl->color_depth); in external_encoder_control_v3()
H A Dcommand_table2.c150 switch (cntl->color_depth) { in encoder_control_digx_v1_5()
168 switch (cntl->color_depth) { in encoder_control_digx_v1_5()
418 bp_params->color_depth); in set_pixel_clock_v7()
423 pll_id, bp_params->color_depth); in set_pixel_clock_v7()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_opp_csc_v.c463 enum dc_color_depth color_depth) in set_Denormalization() argument
467 switch (color_depth) { in set_Denormalization()
717 set_Denormalization(xfm, default_adjust->color_depth); in dce110_opp_v_set_csc_default()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_link_encoder.c924 enum dc_color_depth color_depth, in dcn10_link_encoder_enable_tmds_output() argument
947 cntl.color_depth = color_depth; in dcn10_link_encoder_enable_tmds_output()
986 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dcn10_link_encoder_enable_dp_output()
1025 cntl.color_depth = COLOR_DEPTH_UNDEFINED; in dcn10_link_encoder_enable_dp_mst_output()

1234