Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c341 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp2_set_cursor_attributes() local
345 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp2_set_cursor_attributes()
346 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp2_set_cursor_attributes()
353 CUR0_MODE, color_format, in dpp2_set_cursor_attributes()
357 if (color_format == CURSOR_MODE_MONO) { in dpp2_set_cursor_attributes()
Ddcn20_hubp.c596 attr->width, attr->color_format); in hubp2_cursor_set_attributes()
610 CURSOR_MODE, attr->color_format, in hubp2_cursor_set_attributes()
625 hubp->att.cur_ctl.bits.mode = attr->color_format; in hubp2_cursor_set_attributes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubp.c106 attr->width, attr->color_format); in hubp32_cursor_set_attributes()
125 CURSOR_MODE, attr->color_format, in hubp32_cursor_set_attributes()
136 switch (attr->color_format) { in hubp32_cursor_set_attributes()
Ddcn32_hwseq.c288 switch (pipe->stream->cursor_attributes.color_format) { in dcn32_calculate_cab_allocation()
731 switch (hubp->curs_attr.color_format) { in dcn32_update_mall_sel()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c414 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp1_set_cursor_attributes() local
418 CUR0_MODE, color_format, in dpp1_set_cursor_attributes()
421 if (color_format == CURSOR_MODE_MONO) { in dpp1_set_cursor_attributes()
Ddcn10_hubp.c1151 attr->width, attr->color_format); in hubp1_cursor_set_attributes()
1165 CURSOR_MODE, attr->color_format, in hubp1_cursor_set_attributes()
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-raydium-rm67191.c322 int color_format = color_format_from_dsi_format(dsi->format); in rad_panel_enable() local
369 ret = mipi_dsi_dcs_set_pixel_format(dsi, color_format); in rad_panel_enable()
370 dev_dbg(dev, "Interface color format set to 0x%x\n", color_format); in rad_panel_enable()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_ipp.c78 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes()
101 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c355 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp3_set_cursor_attributes() local
359 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp3_set_cursor_attributes()
360 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) in dpp3_set_cursor_attributes()
364 CUR0_MODE, color_format, in dpp3_set_cursor_attributes()
368 if (color_format == CURSOR_MODE_MONO) { in dpp3_set_cursor_attributes()
378 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp3_set_cursor_attributes()
Ddcn30_hwseq.c840 switch (cursor_attr.color_format) { in dcn30_apply_idle_power_optimizations()
920 switch (cursor_attr->color_format) { in dcn30_does_plane_fit_in_mall()
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1018 int color_format = 0; in hdmi_video_sample() local
1023 color_format = 0x01; in hdmi_video_sample()
1026 color_format = 0x03; in hdmi_video_sample()
1029 color_format = 0x05; in hdmi_video_sample()
1032 color_format = 0x07; in hdmi_video_sample()
1037 color_format = 0x09; in hdmi_video_sample()
1041 color_format = 0x0B; in hdmi_video_sample()
1045 color_format = 0x0D; in hdmi_video_sample()
1049 color_format = 0x0F; in hdmi_video_sample()
1053 color_format = 0x16; in hdmi_video_sample()
[all …]
/linux-6.1.9/drivers/gpu/drm/bridge/
Dnwl-dsi.c259 int color_format; in nwl_dsi_config_dpi() local
282 color_format = nwl_dsi_get_dpi_pixel_format(dsi->format); in nwl_dsi_config_dpi()
283 if (color_format < 0) { in nwl_dsi_config_dpi()
286 return color_format; in nwl_dsi_config_dpi()
291 nwl_dsi_write(dsi, NWL_DSI_PIXEL_FORMAT, color_format); in nwl_dsi_config_dpi()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c75 enum mtk_dpi_out_color_format color_format; member
598 mtk_dpi_config_color_format(dpi, dpi->color_format); in mtk_dpi_set_display_mode()
688 dpi->color_format = MTK_DPI_COLOR_FORMAT_YCBCR_422; in mtk_dpi_bridge_atomic_check()
690 dpi->color_format = MTK_DPI_COLOR_FORMAT_RGB; in mtk_dpi_bridge_atomic_check()
Dmtk_dp.c456 enum dp_pixelformat color_format) in mtk_dp_set_color_format() argument
462 color_format << DP_TEST_COLOR_FORMAT_SHIFT, in mtk_dp_set_color_format()
465 switch (color_format) { in mtk_dp_set_color_format()
474 color_format); in mtk_dp_set_color_format()
/linux-6.1.9/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.h309 u32 color_format; member
Dcdns-mhdp8546-core.c1526 mhdp->display_fmt.color_format)) in cdns_mhdp_get_modes()
1556 switch (fmt->color_format) { in cdns_mhdp_get_bpp()
1765 pxlfmt = mhdp->display_fmt.color_format; in cdns_mhdp_configure_video()
2525 mhdp->display_fmt.color_format = DRM_COLOR_FORMAT_RGB444; in cdns_mhdp_probe()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h583 enum dc_cursor_color_format color_format; member
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c1081 if (st->color_format == DRM_COLOR_FORMAT_YCBCR420) in d71_improc_update()
1083 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR422) in d71_improc_update()
1085 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR444) in d71_improc_update()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1268 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in handle_cursor_update()