Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_cm.c120 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp401_set_cursor_attributes() local
124 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp401_set_cursor_attributes()
125 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp401_set_cursor_attributes()
130 CUR0_MODE, color_format, in dpp401_set_cursor_attributes()
134 if (color_format == CURSOR_MODE_MONO) { in dpp401_set_cursor_attributes()
144 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp401_set_cursor_attributes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn20/
Ddcn20_dpp.c343 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp2_set_cursor_attributes() local
347 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp2_set_cursor_attributes()
348 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp2_set_cursor_attributes()
355 CUR0_MODE, color_format, in dpp2_set_cursor_attributes()
359 if (color_format == CURSOR_MODE_MONO) { in dpp2_set_cursor_attributes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn32/
Ddcn32_hubp.c115 attr->width, attr->color_format); in hubp32_cursor_set_attributes()
134 CURSOR_MODE, attr->color_format, in hubp32_cursor_set_attributes()
145 switch (attr->color_format) { in hubp32_cursor_set_attributes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/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()
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-raydium-rm67191.c315 int color_format = color_format_from_dsi_format(dsi->format); in rad_panel_enable() local
359 ret = mipi_dsi_dcs_set_pixel_format(dsi, color_format); in rad_panel_enable()
360 dev_dbg(dev, "Interface color format set to 0x%x\n", color_format); in rad_panel_enable()
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp.c388 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp3_set_cursor_attributes() local
392 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp3_set_cursor_attributes()
393 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp3_set_cursor_attributes()
400 CUR0_MODE, color_format, in dpp3_set_cursor_attributes()
404 if (color_format == CURSOR_MODE_MONO) { in dpp3_set_cursor_attributes()
414 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp3_set_cursor_attributes()
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1001 int color_format = 0; in hdmi_video_sample() local
1006 color_format = 0x01; in hdmi_video_sample()
1009 color_format = 0x03; in hdmi_video_sample()
1012 color_format = 0x05; in hdmi_video_sample()
1015 color_format = 0x07; in hdmi_video_sample()
1020 color_format = 0x09; in hdmi_video_sample()
1024 color_format = 0x0B; in hdmi_video_sample()
1028 color_format = 0x0D; in hdmi_video_sample()
1032 color_format = 0x0F; in hdmi_video_sample()
1036 color_format = 0x16; in hdmi_video_sample()
[all …]
/linux-6.12.1/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.12.1/drivers/gpu/drm/mediatek/
Dmtk_dpi.c77 enum mtk_dpi_out_color_format color_format; member
606 mtk_dpi_config_color_format(dpi, dpi->color_format); in mtk_dpi_set_display_mode()
696 dpi->color_format = MTK_DPI_COLOR_FORMAT_YCBCR_422; in mtk_dpi_bridge_atomic_check()
698 dpi->color_format = MTK_DPI_COLOR_FORMAT_RGB; in mtk_dpi_bridge_atomic_check()
Dmtk_dp.c543 enum dp_pixelformat color_format) in mtk_dp_set_color_format() argument
549 color_format << DP_TEST_COLOR_FORMAT_SHIFT, in mtk_dp_set_color_format()
552 switch (color_format) { in mtk_dp_set_color_format()
561 color_format); in mtk_dp_set_color_format()
/linux-6.12.1/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.h309 u32 color_format; member
Dcdns-mhdp8546-core.c1544 mhdp->display_fmt.color_format)) in cdns_mhdp_get_modes()
1574 switch (fmt->color_format) { in cdns_mhdp_get_bpp()
1777 pxlfmt = mhdp->display_fmt.color_format; in cdns_mhdp_configure_video()
2552 mhdp->display_fmt.color_format = DRM_COLOR_FORMAT_RGB444; in cdns_mhdp_probe()
/linux-6.12.1/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.12.1/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c1083 if (st->color_format == DRM_COLOR_FORMAT_YCBCR420) in d71_improc_update()
1085 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR422) in d71_improc_update()
1087 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR444) in d71_improc_update()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h609 enum dc_cursor_color_format color_format; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
Ddcn20_hubp.c598 attr->width, attr->color_format); in hubp2_cursor_set_attributes()
612 CURSOR_MODE, attr->color_format, in hubp2_cursor_set_attributes()
627 hubp->att.cur_ctl.bits.mode = attr->color_format; in hubp2_cursor_set_attributes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
Ddcn10_hubp.c1152 attr->width, attr->color_format); in hubp1_cursor_set_attributes()
1166 CURSOR_MODE, attr->color_format, in hubp1_cursor_set_attributes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
Ddcn30_hwseq.c1025 switch (cursor_attr.color_format) { in dcn30_apply_idle_power_optimizations()
1104 switch (cursor_attr->color_format) { in dcn30_does_plane_fit_in_mall()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource_helpers.c48 switch (pipe_ctx->stream->cursor_attributes.color_format) { in dcn32_helper_calculate_mall_bytes_for_cursor()
/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-hw.c767 u32 color_format = 0; in wave5_vpu_dec_register_framebuffer() local
843 color_format = 1; in wave5_vpu_dec_register_framebuffer()
851 (color_format << 19) | in wave5_vpu_dec_register_framebuffer()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1373 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in amdgpu_dm_plane_handle_cursor_update()
Damdgpu_dm.c8849 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in amdgpu_dm_update_cursor()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c675 switch (hubp->curs_attr.color_format) { in dcn32_update_mall_sel()