Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c351 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp2_set_cursor_attributes() local
355 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp2_set_cursor_attributes()
356 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp2_set_cursor_attributes()
363 CUR0_MODE, color_format, in dpp2_set_cursor_attributes()
367 if (color_format == CURSOR_MODE_MONO) { in dpp2_set_cursor_attributes()
Ddcn20_hubp.c598 attr->width, attr->color_format); in hubp2_cursor_set_attributes()
612 CURSOR_MODE, attr->color_format, in hubp2_cursor_set_attributes()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c420 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp1_set_cursor_attributes() local
424 CUR0_MODE, color_format, in dpp1_set_cursor_attributes()
427 if (color_format == CURSOR_MODE_MONO) { in dpp1_set_cursor_attributes()
Ddcn10_hubp.c1122 attr->width, attr->color_format); in hubp1_cursor_set_attributes()
1136 CURSOR_MODE, attr->color_format, in hubp1_cursor_set_attributes()
/Linux-v5.10/drivers/gpu/drm/panel/
Dpanel-raydium-rm67191.c321 int color_format = color_format_from_dsi_format(dsi->format); in rad_panel_enable() local
368 ret = mipi_dsi_dcs_set_pixel_format(dsi, color_format); in rad_panel_enable()
369 dev_dbg(dev, "Interface color format set to 0x%x\n", color_format); in rad_panel_enable()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_ipp.c80 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes()
103 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
/Linux-v5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c899 int color_format = 0; in hdmi_video_sample() local
904 color_format = 0x01; in hdmi_video_sample()
907 color_format = 0x03; in hdmi_video_sample()
910 color_format = 0x05; in hdmi_video_sample()
913 color_format = 0x07; in hdmi_video_sample()
918 color_format = 0x09; in hdmi_video_sample()
922 color_format = 0x0B; in hdmi_video_sample()
926 color_format = 0x0D; in hdmi_video_sample()
930 color_format = 0x0F; in hdmi_video_sample()
934 color_format = 0x16; in hdmi_video_sample()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c352 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp3_set_cursor_attributes() local
356 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp3_set_cursor_attributes()
357 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) in dpp3_set_cursor_attributes()
361 CUR0_MODE, color_format, in dpp3_set_cursor_attributes()
365 if (color_format == CURSOR_MODE_MONO) { in dpp3_set_cursor_attributes()
/Linux-v5.10/drivers/gpu/drm/bridge/
Dnwl-dsi.c267 int color_format; in nwl_dsi_config_dpi() local
290 color_format = nwl_dsi_get_dpi_pixel_format(dsi->format); in nwl_dsi_config_dpi()
291 if (color_format < 0) { in nwl_dsi_config_dpi()
294 return color_format; in nwl_dsi_config_dpi()
299 nwl_dsi_write(dsi, NWL_DSI_PIXEL_FORMAT, color_format); in nwl_dsi_config_dpi()
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_dpi.c77 enum mtk_dpi_out_color_format color_format; member
517 mtk_dpi_config_color_format(dpi, dpi->color_format); in mtk_dpi_set_display_mode()
615 dpi->color_format = MTK_DPI_COLOR_FORMAT_RGB; in mtk_dpi_bind()
/Linux-v5.10/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.h305 u32 color_format; member
Dcdns-mhdp8546-core.c1523 mhdp->display_fmt.color_format)) in cdns_mhdp_get_modes()
1553 switch (fmt->color_format) { in cdns_mhdp_get_bpp()
1710 pxlfmt = mhdp->display_fmt.color_format; in cdns_mhdp_configure_video()
2414 mhdp->display_fmt.color_format = DRM_COLOR_FORMAT_RGB444; in cdns_mhdp_probe()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h532 enum dc_cursor_color_format color_format; member
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.h329 u8 color_format, color_depth; member
Dkomeda_pipeline_state.c802 st->color_format = BIT(__ffs(avail_formats)); in komeda_improc_validate()
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c1081 if (st->color_format == DRM_COLOR_FORMAT_YCRCB420) in d71_improc_update()
1083 else if (st->color_format == DRM_COLOR_FORMAT_YCRCB422) in d71_improc_update()
1085 else if (st->color_format == DRM_COLOR_FORMAT_YCRCB444) in d71_improc_update()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c6850 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in handle_cursor_update()