/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp_cm.c | 120 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/ |
D | dcn20_dpp.c | 343 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/ |
D | dcn32_hubp.c | 115 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/ |
D | dcn10_dpp.c | 414 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/ |
D | panel-raydium-rm67191.c | 315 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/ |
D | dce_ipp.c | 78 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/ |
D | dcn30_dpp.c | 388 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/ |
D | dw-hdmi.c | 1001 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/ |
D | nwl-dsi.c | 259 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/ |
D | mtk_dpi.c | 77 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()
|
D | mtk_dp.c | 543 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/ |
D | cdns-mhdp8546-core.h | 309 u32 color_format; member
|
D | cdns-mhdp8546-core.c | 1544 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/ |
D | komeda_pipeline.h | 329 u8 color_format, color_depth; member
|
D | komeda_pipeline_state.c | 802 st->color_format = BIT(__ffs(avail_formats)); in komeda_improc_validate()
|
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_component.c | 1083 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/ |
D | dc_hw_types.h | 609 enum dc_cursor_color_format color_format; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
D | dcn20_hubp.c | 598 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/ |
D | dcn10_hubp.c | 1152 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/ |
D | dcn30_hwseq.c | 1025 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/ |
D | dcn32_resource_helpers.c | 48 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/ |
D | wave5-hw.c | 767 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/ |
D | amdgpu_dm_plane.c | 1373 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in amdgpu_dm_plane_handle_cursor_update()
|
D | amdgpu_dm.c | 8849 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/ |
D | dcn32_hwseq.c | 675 switch (hubp->curs_attr.color_format) { in dcn32_update_mall_sel()
|